Rectangle 27 0

uniqueIdentifier
vendorIdentifier
  • OpenUDID cannot be shared between Applications on iOS 7+ and now can change. It's still usable but no longer recommended.
  • The vendorIdentifier hasn't changed, but it's not recommended for Enterprise Apps because it can change when updating the App.
  • The new advertisingIdentifier API is the way to go for new Apps. It's the same for all Apps and should not change frequently, but the user can reset it in the settings page.

Edit: Website udid.io obtains the real Device UDID instead of the obfuscated one if you need it for anything outside your App. If you need the UDID from within the App, see my answer above.

Well, I know OpenUDID. The problem is though that our (legacy) backend is returning data based on UDIDs. I was looking for a solution which doesn't involve refactoring server side applications. People just had to copy & paste their UDID from iTunes and they were ready to go.

Sorry to hear that, but on iOS 7+ there's no way to access the UDID shown in iTunes from code anymore.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Thanks for the reply. Unfortunately, I only get some Unique id - not the particular UDID shown in iTunes.

Well thats strange - I will relook into code tomo and let you know because I thought I was getting the same UDID that we see in iTunes.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Getting UDID programmatically will not work from iOS7.0 and upwards, since Apple apparently has moved it to "Private API" space for security reasons. However, you can still see the UDID of a device when it is connected to XCode (Xcode-> Organizer-> {Your Device Name}-> Identifier). You can also see it when the device is connected to iTunes, by clicking on the "Serial Number" once (it toggles between Serial No. and the UDID). You will have to ask your beta testers to find the device UDIDs this way and send you across, I suppose.

ios7 - Get UDID from beta testers iOS 7 - Stack Overflow

ios ios7 udid
Rectangle 27 0

uniqueIdentifier
vendorIdentifier
  • OpenUDID cannot be shared between Applications on iOS 7+ and now can change. It's still usable but no longer recommended.
  • The vendorIdentifier hasn't changed, but it's not recommended for Enterprise Apps because it can change when updating the App.
  • The new advertisingIdentifier API is the way to go for new Apps. It's the same for all Apps and should not change frequently, but the user can reset it in the settings page.

Edit: Website udid.io obtains the real Device UDID instead of the obfuscated one if you need it for anything outside your App. If you need the UDID from within the App, see my answer above.

Well, I know OpenUDID. The problem is though that our (legacy) backend is returning data based on UDIDs. I was looking for a solution which doesn't involve refactoring server side applications. People just had to copy & paste their UDID from iTunes and they were ready to go.

Sorry to hear that, but on iOS 7+ there's no way to access the UDID shown in iTunes from code anymore.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Thanks for the reply. Unfortunately, I only get some Unique id - not the particular UDID shown in iTunes.

Well thats strange - I will relook into code tomo and let you know because I thought I was getting the same UDID that we see in iTunes.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Sorry, but Apple warned it would be deprecated and it has been. I've had the same headache myself.

I can't help you identify the device in the same way Apple do, but you can always generate an unique UUID on app launch and stash that away in KeyChain. It won't be perfect, but it will persist between installations and will be unique to the device. As far as I know, that's the current solution

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

uniqueIdentifier
vendorIdentifier
  • OpenUDID cannot be shared between Applications on iOS 7+ and now can change. It's still usable but no longer recommended.
  • The vendorIdentifier hasn't changed, but it's not recommended for Enterprise Apps because it can change when updating the App.
  • The new advertisingIdentifier API is the way to go for new Apps. It's the same for all Apps and should not change frequently, but the user can reset it in the settings page.

Edit: Website udid.io obtains the real Device UDID instead of the obfuscated one if you need it for anything outside your App. If you need the UDID from within the App, see my answer above.

Well, I know OpenUDID. The problem is though that our (legacy) backend is returning data based on UDIDs. I was looking for a solution which doesn't involve refactoring server side applications. People just had to copy & paste their UDID from iTunes and they were ready to go.

Sorry to hear that, but on iOS 7+ there's no way to access the UDID shown in iTunes from code anymore.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Getting UDID programmatically will not work from iOS7.0 and upwards, since Apple apparently has moved it to "Private API" space for security reasons. However, you can still see the UDID of a device when it is connected to XCode (Xcode-> Organizer-> {Your Device Name}-> Identifier). You can also see it when the device is connected to iTunes, by clicking on the "Serial Number" once (it toggles between Serial No. and the UDID). You will have to ask your beta testers to find the device UDIDs this way and send you across, I suppose.

ios7 - Get UDID from beta testers iOS 7 - Stack Overflow

ios ios7 udid
Rectangle 27 0

You can get a Unique UDID via this method using private api. Follow this link Look for the code in accepted answer.

Thanks for the reply. Unfortunately, I only get some Unique id - not the particular UDID shown in iTunes.

Well thats strange - I will relook into code tomo and let you know because I thought I was getting the same UDID that we see in iTunes.

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Sorry, but Apple warned it would be deprecated and it has been. I've had the same headache myself.

I can't help you identify the device in the same way Apple do, but you can always generate an unique UUID on app launch and stash that away in KeyChain. It won't be perfect, but it will persist between installations and will be unique to the device. As far as I know, that's the current solution

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid
Rectangle 27 0

Sorry, but Apple warned it would be deprecated and it has been. I've had the same headache myself.

I can't help you identify the device in the same way Apple do, but you can always generate an unique UUID on app launch and stash that away in KeyChain. It won't be perfect, but it will persist between installations and will be unique to the device. As far as I know, that's the current solution

ios - Retrieving UDID via private API - Stack Overflow

ios iphone-privateapi udid