i.e. does this call:
NSString *udid = [UIDevice currentDevice].uniqueIdentifier;
return always the same UDID when it is executed on the iPhone
Xcode has this data for you:
Look at the Identifier for the machine there.
-OR-
Xcode 6: Open Devices (CMD+SHIFT+2 -OR- Window -> Devices)
Open terminal and type in system_profiler SPHardwareDataType
- the output under Hardware UUID is the ID used for all instances of iOS simulator running on that specific computer.
The UDID of the simulator is actually the same as the UDID of your Mac. You can easily verify this by looking at the System Profiler utility (where it is called the Hardware UUID).
On iPhones, iPads and iPod Touches, it is 40 lowercase hex digits, probably a SHA1 hash of some hardware identifier.
My UDID is reporting as 03B41D62-FB69-5B6D-A95E-473842F4DFE3 from the iPhone Simulator, so it looks like you're correct.