Monday, January 12, 2009

UUID Hint

If you use ad-hoc distribution for testing or for letting your clients review applications, you need to have the UUID of any phone that you want to be able to install the application on. For people who have the developer tools installed, it's easy - you just copy it out of the Organizer window in Xcode. For people who don't, however, iTunes will show you the UUID, but it won't let you copy it to the clipboard, meaning somebody has to manually type it in, which is error prone and sucks. I've had many problems with mis-typed UUIDs from clients.

There is an alternative, at least if your users are on the Mac. The System Profiler application located in /Applications/Utilities/ will show you the identifier for any iPhone currently connected to the computer. Just select USB from the left-hand column, then find the entry for iPhone in the upper right, and select it. Once you do that, it will bring up information about the iPhone. The field labeled "Serial Number:" is the phone's UUID, and it can be copied to the clipboard. You can see it in the screenshot below (though I've blurred out my UUID):


Edit:Apparently, it is possible to copy the UUID from iTunes, though it's non-obvious how to do it. If you click the Serial Number to show the UUID, then double-click the actual UUID value, it won't highlight, but you can actually press ⌘C to copy the value to the clipboard. Not very intuitive, but it works. I think System Profiler is actually easier to explain, since the highlight behavior is more in-line with the way the Mac generally works.



13 comments:

Jason said...

iTunes will let you copy it to the clipboard, just click on the serial number field to see the UUID, then go paste in the app of your choice. iTunes puts the UUID on the clipboard for you.

Jeff LaMarche said...

Does it really? That's interesting. I assumed that since you couldn't highlight the text, you couldn't copy it. I'll have to check that out - thanks!

Jeff LaMarche said...

Okay, just played with it a little bit. Simply showing the the UUID (by clicking on the Serial number) doesn't copy it to the clipboard, but if you double-click the actual UUID afterwards, and then hit command-C, then it does. Not very intuitive, but it does work.

David Gregory said...

I haven't seen it put it in the clipboard automatically (but maybe I'm not clicking on the right thing). On the Mac, what I do is click on the "serial number" text (not the number), watch itunes switch to "identifier", then go select Edit/Copy in the menu. That will definitely put the long UUID in the clipboard. I have heard reported from Windows users that the same thing works on iTunes for Windows.

I've definitely had issues with people mistyping their UUID in email. Copy and paste is the only way to fly here.

Jeff LaMarche said...

Copy and Paste: Bad for code, good for identifiers :) Thanks for the info, David.

Dave Mitchell said...

http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=285691333&mt=8

This app is useful. There are others too. They just open mail for the user with the UUID already in place :)

Eitan said...

I was wondering why my test customers were sending me screenshots of the UUID, now I know why :-)

Jason said...

Well that sucks they took it out. It worked in iTunes 7.7 that way. Guess I should've tried it in 8.0 before commenting. :)

Jason said...

Hmm just tried again, maybe I was remembering wrong. 8.0 definitely doesn't auto-copy to the clipboard for you, but I didn't have to double-click on the UUID, if you just click on the Serial Number label, then hit Cmd-C, it copies the UUID to the clipboard.

julian said...

data entry india refers to a service where data from different fields of entry is extracted and converted into electronic formats. This electronic data can be stored in a secure location and accessed from multiple locations. Our forms processing services can help you store large volumes of critical data efficiently and securely.

Mladen said...

app store
SystemInfo, 0,99$
Phone info, Sys info

Edwin said...

scrub m65 kamagra attorney lawyer body scrub field jacket lovegra marijuana attorney injury lawyer

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels