Calling [[UIDevice currentDevice] uniqueIdentifier]
returns nil and "unable to determine UUID for host. Error: 35
" message in the console. Where is the UUID stored on the simulator?
views:
212answers:
1
+3
A:
Are you using a Hackintosh? Please check http://osx86scene.com/viewtopic.php?f=3&t=2027&start=15.
There is no UDID for the simulator.
The UDID is computed (not stored, it's computed) based on the serial number and other globally unique addresses in the background daemon lockdownd
on the iPhoneOS. Since the serial number, etc. do not exist on the simulator, the UDID cannot be computed, and thus nil
is returned.
KennyTM
2010-02-23 13:37:31
but on other computer simulator return correct value.
castor
2010-02-23 14:10:38
@castor: Which SDK you're using?
KennyTM
2010-02-23 16:11:46
THANKS A LOT!!!! IT WORKS!!!! I'm using Hackintosh and after adding some strings to NetworkPreferences.plist, method uniqueIdentifier return not nil value.
castor
2010-02-24 16:45:16