Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7170679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:15:38+00:00 2026-05-28T15:15:38+00:00

I am using the Unique Identifier extension of UIDevice , since the old uniqueIdentifier

  • 0

I am using the Unique Identifier extension of UIDevice, since the old uniqueIdentifier has been deprecated. I’m pretty sure it worked a few days ago. Now, when it runs across the code [[UIDevice currentDevice] uniqueDeviceIdentifier], it comes back with a runtime error:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice uniqueDeviceIdentifier]: unrecognized selector sent to instance 0x8370a90

I have imported the additions to UIDevice that it needs with #import "UIDevice+IdentifierAddition.h". I have also tried using other extended classes and it doesn’t work with those either. I tried running on both the simulator and an iPhone, both with the same result. However, when I used these additions in the sample project that it provided, it works.

Any ideas? Is it possible that I disabled subclassing cocoa classes somehow?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:15:39+00:00Added an answer on May 28, 2026 at 3:15 pm

    Are you sure your project contains the correct version of that imported file? Sometimes when you download code from somewhere else, and add it to the project, you don’t do the actual copy, and at some point your source code control gets confused and uses the wrong version.

    Go to that file, NSString+MD5Additions.m in the project navigator, right click, Show in Finder. Then look at the contents of this and make sure it’s the right one.

    Also, go to Project, build phases, compile sources, find the file, right mouse and Show in Finder. Make sure this is the same file as in your project and that it has the right methods declared.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using bin2hex to create unique id's for my users as an Identifier
Rightly or wrongly, I am using unique identifier as a Primary Key for tables
I'm facing a problem here, I was using this library UIDevice with UniqueIdentifier for
How to get iPhone's Unique Identifier (UDID) using Phonegap ? Any code ?
Background Obtain the value from a list of XML elements using a unique identifier.
Since there is apparently no reliable way to get the devices unique identifier, our
I'm using a query that tries to find a matching unique identifier (guid) such
I am currently using a Hashtable to store a list of unique identifiers and
what kind of 'unique' system identifiers can be easily obtained using C# (to hash
Is there a performance gain or best practice when it comes to using unique,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.