We\'re working on a project with my colleagues which involves using a lot of private and non official code. This is not intended for AppStore use.
The f
You could try accessing lockdownd
API
directly, via libMobileGestalt.dylib
.
Header here. The basic code to access the UDID should be: (you still need to load the dylib)
CFStringRef udid = (CFStringRef)MGCopyAnswer(kMGUniqueDeviceID);
taken (&slightly modified) from here.
For further information on libMobileGestalt
, look here.
If this fails you could still try communicating with lockdownd
via an SSL Socket( see here ), no idea how that works though, but you might figure it out.
As you may have noticed though, all stuff on this is years old. Still worth a try i guess.