Is the iPhone Simulator UDID unique for each installed instance?

后端 未结 4 1935
离开以前
离开以前 2021-02-04 16:44

i.e. does this call:

NSString *udid = [UIDevice currentDevice].uniqueIdentifier;

return always the same UDID when it is executed on the iPhone

4条回答
  •  时光取名叫无心
    2021-02-04 17:13

    Xcode has this data for you:

    1. Xcode 5: Open Organizer
    2. Click My Mac
    3. Look at the Identifier for the machine there.

      -OR-

    4. Xcode 6: Open Devices (CMD+SHIFT+2 -OR- Window -> Devices)

    5. Click the simulator you're running
    6. Look at the Identifier for the simulator there

提交回复
热议问题