I want to get Apple Watch unique id. Is there anything available like UDID or unique identifier for developers?
-
I think we should wait for native SDK with this question – sage444 Mar 26 '15 at 11:41
-
@sage444 The native SDK is called WatchKit and is available with Xcode 6.2, isn't it? – idmean Mar 27 '15 at 20:17
-
1For those who keep hitting this page seeking how to get the UDID in order to add it to a provisioning profile, see this related SO post here: http://stackoverflow.com/questions/29854314/debug-on-real-apple-watch-application-verification-failed/29854315 – finneycanhelp Apr 25 '15 at 00:41
4 Answers
There should be a way with Xcode 8...but I can't find it.
My solution for now: launch "Accessibility Inspector", click "Start inspection follow point" button (the one in the middle, kind of cross-hairs), click in Xcode on top of the UDID value and then copy the UDID from the inspector shown values.

- 19,551
- 4
- 71
- 68
-
2Wow, neat trick. Ridiculous they've regressed on this UI and don't allow you to copy/paste. – Chris Wagner Oct 11 '16 at 17:35
-
It used to be possible in Xcode 7... Apple has a way of insulting its users recently. – Maciej Trybiło Jan 05 '17 at 16:57
-
1Awesome, a real lifesaver! Thank you. Should be the accepted answer – Sergey Grischyov Jan 23 '17 at 17:08
It turns out you also have to add the UDID of the Apple Watch to the Apple Developer Portal, and update your Development provisioning profile to include this UDID.
The UDID can be obtained in Devices window of Xcode. After pairing, the info of the Apple Watch will automatically display below the info of your iPhone.
At the time of writing, this seems to be documented nowhere, and the error message on the Apple Watch wasn't particularly helpful. So I wish this try-and-error lesson would save you some hassle.
-
2Thanks for this answer, if you go this route, be aware that sometime I have to restart XCode for the "Paired Watch Information" section to appear below the "Device Information" section. It works for me... – woody121 Jun 15 '15 at 14:18
Open XCode.
Under the menu Windows > Devices
select your iPhone (must a registered device)
Below the info about your device you will notice an headline "Paired Device Information".
One of the data provided is "Identifier". Copy the related value in your registered devices in the Developer's Portal and you are ready to go.

- 119
- 1
- 4
-
31How do I copy it? I can neither press CMD+C nor copy via right click or select it. – Apr 20 '16 at 10:56
-
1Seems it was changed when they adde support for multiple apple watches and you can no longer copy it. – James Campbell Aug 17 '16 at 14:17
-
Yup, you can not longer copy it.
Anyone know another place it is logged or displayed in an editable field? – Leslie Godwin Sep 13 '16 at 07:44 -
2As of Xcode 8, you still have to write down iWatch UDID with your naked eye. No options to copy yet. – n.by.n Sep 16 '16 at 13:41
-
1It's March 2017 and I can't believe one still cannot copy the Watch UDID! I found a way though, but it's a total hack. Take a screenshot of just the UDID (Cmd + Shift + 4 and lasso just the digits). Then head over to http://www.free-ocr.com and upload that image. It wasn't perfect though. YMMV. – bmauter Mar 01 '17 at 21:07
-
You mean you want to access it via code written in your app? I don't think this is possible. I know it's not possible for iPhone. And apple do not accept apps that access the UDID. seems you're out of luck.
http://www.macworld.com/article/2031573/apple-sets-may-1-deadline-for-udid-iphone-5-app-changes.html
-
You're confusing UUID with UDID (device ID), which is needed for adhoc provisioning. – jrc Aug 08 '15 at 14:26