Getting UDID from deactivated device without iTunes or XCode? - iphone

I installed iPhone OS 4.0 on my friends iPod Touch 3rd gen and forgot to add the udid to the provisioning portal. The device is locked and I can't seem to find a way to revert it to get the UDID. I don't have XCode here. Using iTunes, how can I revert it?

Open the System Profiler, look under USB for your iPhone and use the serial number listed there.

With the device connected to iTunes, click on its serial number; it should change to the UDID. You can use the Edit > Copy menu item to copy that.

Piece of advise. UPPER CASE != upper case when it comes to UUID! I typed in the upper case uuid but you need to write it down in lower case.

Related

iPhone Xs and Xs Max no UDID showing on iTunes?

UDIDs are not showing in the latest version of iTunes 12.9 with iPhone Xs and Xs Max running iOS 12.
Does anyone know how to obtain the UDID from the new iTunes?
So far I managed to get a 24-digit code from Xcode. I am using iPhone Xs Max, the device is showing up as an iPhone 4 in Xcode!
It seems like Apple has changed the UDID format from 40 digits to 24 digits, and a hyphen has to be added after the first 8 digits for the registration to work. e.g. 00008020-
Note: the code that shows in Xcode does not include the “-“, it needs to be added manually. It will not work if you paste the 24-digit code onto the device registration page.
Just wondering if anyone managed to get the UDID on iTunes without using Xcode? Or third party softwares?
This is the method I used so far:
Connect iPhone to Xcode.
Windows - Devices and simulators.
Copy the 24-digit indentifier code.
Add a hyphen after the first 8 digits.
Register on the apple dev account device list.
Let us know if there is an easier way.
Hope this helps, and can save people some time.
For a non-Xcode answer, see https://stackoverflow.com/a/52473809/3303337. Quoting that answer:
Go to "->About This Mac".
Click on "System Report" and select "USB".
Find your phone and the "Serial Number" field is what you are after.
Copy this value and paste it into the developer portal when you register a new device.
Then just inject a dash after the first 8 digits.
In fact, the format has changed, it's like that now :
00007020-0018598X0X90003X
It's called "Identifier" in :
Xcode > Window > Devices & Simulators
Source : https://iphonesoft.fr/2018/10/08/apple-change-format-udid-l-iphone-xs
You can easily get UDID as well as other device information by using the app called "Apple Configurator 2".
Here is the app link.
https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?mt=12.
Here is the screenshot.
Like dpalmer's answer, you can use the System Report. To get the System Report's serial number on the Terminal without as much clicking, you can paste in this command:
system_profiler SPUSBDataType -detailLevel mini | \
grep -e iPhone -e Serial | \
sed -En 'N;s/iPhone/&/p'
Output:
2018-10-25 12:57:06.527 system_profiler[23461:6234239] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe0003a3e
iPhone:
Serial Number: 3aeac....4145
You may ignore the failed 0xe0003a3e part and get the Serial Number: 3aeac....4145
From my blog post on the topic, that includes methods to get the UDID on Windows as well: https://deciphertools.com/blog/2014_11_19_how_to_find_your_iphone_udid/
As everyone notes, you need to manually stick in the hyphen after the first eight digits.

Issue with developer portal added device

I am facing an issue related to apple developer portal. I had added a new UDID (with all alphabets as capitals )to the dev account. But somehow now the device shows UDID with all lowercase letters. This may be the reason i am unable to deploy an adhoc build to this device.
If i disable this device and try to add again with a different name and same UDID(pasted as Capitalized alphabets), the device previously disabled becomes active again and the new device is not added.
I am not sure if this question fits around here in stackoverflow, in which case it will be closed very soon :-). But if it does, it would be very helpful if someone could let me know a workaround through this issue.
OK, here's the problem:
In iOS7 UDIDs are no longer available via the "send me my UDID apps.
UDIDs are ONLY available via Xcode or connecting to itunes.
The ones sent by the apps are incorrect and will fail - they all have FFFFF as the start...
To find the correct UDID, connect to itunes.
click on:
My Device->serial number (it will switch to the UDID)
grrrrr..............
Very nice woman at Apple walked me through it.
S

iOS Provisioning Profile not installing on one particular device

I recently have distributed an app for testing, and the test team are having a problem installing the app, more specifically the provisioning profile associated with the app.
They are using an iPhone 4 (iOS 5.1.1) and are getting "Could not install the provisioning profile due to an unknown error"
I am used to seeing this when a UDID is not registered against the profile which is trying to be installed, but they are adamant that they have supplied the correct UDID. In terms of the profile, both looking at provisioning on the iOS Dev account, and opening in a text editor confirms that the UDID that has been supplied is definitely present.
My question is, are there any known issues (other than wrong UDID supplied) which could cause this to occur on a device, even if that device is authorised to install that particular provisioning profile?
Thanks
This won't answer your question because your problematic device is iOS-5.1, but it may help lots of other people:
Another possible issue since iOS7 is where did you find UDID. As Apple says:
In iOS 7, apps that are already on the store or on users’ devices that call this removed API will no longer be returned the UDID. Instead, -[UIDevice uniqueIdentifier] will return a 40-character string starting with FFFFFFFF, followed by the hex value of -[UIDevice identifierForVendor].
Consequetly, check the UDID your client/collaborator sends to you: if it begins with FFFFFFFF, thats a wrong one.
The only & unique method to get UDID under iOS7 is to plug your device to a computer, launch iTunes (or Xcode) and copy the displayed UDID.
Looks like the UDID which is generated programmatically gives a random alphanumeric code from iOS 7. So to make sure you are using the right one, connect it to iTunes and then copy the UDID.
There may be few reasons behind that because information is not enough so i can just guess -
If you're getting any boot strap error in console then delete app from device then switched OFF your device then ON and try again.
May be in your device there is already an app having same profile so your app would overwrite on previous one and new app would not be install.
Last It might be provisioning profile issue. Make it again.

Adding Device UDID to XCode

I am familiar with adding the device UDID to the developer portal…I don't want to add ids overthere .Instead of that I would like to add device ID through Xcode…..Is it possible to add devices through Xcode…..
As far as my knowledge it is not possible.
no you cant ..but you can buy a developer license for 1 device it cost 15$ (google for it) .. guys often used it to install crack applications without jelly break his device.
In XCode 4.2, if you open up the 'Organizer' and click your device in the left menu, there is a button in the bottom of the view, saying 'Add to Portal'. I think that does what you want.

How can I install an unsigned application on an iPhone from Xcode?

How can I install an unsigned application on an iPhone from Xcode? I am using last version of Xcode and the iOS 5 SDK.
You can't.
Apple wants people to sign up with their developer program, and so the only way to install an unsigned app might involve jail breaking, but I don't know enough as I've never jailbroken an iOS device.
Maybe you're not ready to purchase the license yet. That's when you require JailCoder - an easy to use app for tweaking your project and Xcode. Purchase the license and publish your app when you're happy testing with JailCoder.
Note: Here also a jailbroken device is required.
CAUTION! This DOES require a jailbroken iOS Device.
Yes, you CAN!
If you've built it on your own, you can simply use your phone as developer device (if you don't know how, just google it, I don't remember yet).
The trick is to force Xcode to don't try to code sign your app. If you don't, you'll get an error every time, you try to build it.
Go to Terminal and type:
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/SDKSettings.plist
(You might replace iPhoneOS5.0 with your target SDK)
You'll be asked for your admin password.
Now change the value for the key CODE_SIGNING_REQUIRED to NO.
You are almost done.
Go to your project settings, look for "Code Signing" and set all values to Don't Code Sign.
Set the active scheme to your iPhone instead of iPhone 5.0 Simulator and go to Product → Build For → Build For Archiving
Now go to your Organizer Window, head for your iPhone, go to Applications, press the plus sign at left bottom and choose your build path.
In Xcode4 it's /Users/you/Library/Developer/Xcode/DerivedData/yourApp/Build/Products/Release-iphoneos/ by default.
Select your App binary (it will have a "forbidden" badge, because you're on Mac architecture) and click open.
Wait a few seconds and now your app should be available from your SpringBoard.
It would require jailbreaking, which I don't see why not because my jailbroken iPad doesn't have a virus after probably 300 apps. All the apps from the default repositories are checked and don't have a virus.