iPhone Xs and Xs Max no UDID showing on iTunes? - iphone

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.

Related

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.

Windows 7 iTunes does not accept the adhoc ipa file

I am in beta testing stage for an application.
Some of my beta testers use Windows 7 and run iTunes within.
Some of them are just fine but a few observe some rather strange behavior.
That is: Neither the *.ipa nor the *.mobileprivision file can be dragged and dropped into the Apps section of the Mediathek within iTunes. (Doing so the icon indicates that the object cannot be dropped within iTunes)
We tried File/Add to Mediathek ... and that does not work either. No error message but the app does not show up and when adding the mobileprovision file for a second and third time no message comes up that asks whether to overwite the existing mobileprovision file.
I tried google and the search within stackoverflow but did not find anything that matches my problem.
Any suggestion is highly appreciated!
Probably not a direct answer to your question - but a workaround:
Have you tried http://testflightapp.com? Lets you send beta builds to your testers over the air without them having to go through iTunes. And it's free.
No affiliation - just a satisfied user.
Agree with Abizem. Testflight is a good, painless way of sending out builds. If you absolutely have to use the mobileprovision and .app route, just copy the mobileprovision file and do a sync. Check if that is getting added to the device (the UDID in the mobileprovision might be incorrect)
Note: the .app file will appear as a folder on a Windows system. The entire folder needs to be dragged in this case.
If all of your testers use iOS 4 you can drop the two files on your file server and let them open the website from there iOS device. It is really simple and they don't even need a PC for testing:
http://buzzworks.de/blog/announcing-developer-framework-hockey

iPhone dev question: "No provisioned iPhone OS is connected" error, I don't know what else to try for troubleshooting

I am trying to compile and install my first application onto my iPhone after setting up a profile and certificate. At this point I am getting the "No provisioned iPhone OS is connected" error when I Build & Go.
I am using iPhone OS 3.1.3, and Xcode 3.2.2 on 10.6.3.
• I have verified that my iPhone is connected to my development machine (it is seen on the computer by both iTunes and Xcode Organizer (in Organizer, it has the green dot next to it)).
• I have rebooted the iPhone and restarted Xcode multiple times.
• I have verified that the Bundle Identifier in my appname.plist is set to com.. (with the appropriate values between the angle brackets).
I have looked the error message up on the web, and so far have not found a hint that has gotten me over the hump....
Thanks for any and all assistance!
Regards,
Steve O'Sullivan
Open Organizer (in Xcode > Window >
Organizer) check whether there is a
green dot next to your iPhone.
Click on the iPhone item, check whether it's ready for development (if "Use for development" is there, that means not)
Sometimes, you may need to power off then on your iPhone
Did you add the UDID of the device to the relevant provisioning profile on the Apple iPhone developer portal, and downloaded and installed the new profile?
Maybe an answer now; see comment below. But if nothing else, an identical problem and question. I've tried all of the unique suggestions made on this and other forums, several times for some suggestions, as the original author has done, and I continue to get the same message. I've removed everything from the provisioning portal, from my iPhone (3.1.3), and from XCode (3.2), and rebuilt/reinstalled everything. As above, the green dot shows in the Organizer as does the relevant iPhone specific data, the provisioning file is there and on the iPhone, all the appropriate certificates appear to be in place. I've "clean"ed the build; I've turned the iPhone off and restarted XCode, in several different sequences; I shut down the development Mac and restarted everything. But, I continue to get the "No provisioned iPhone OS device is connected".
And, yes, this is my first try at loading a development application to the iPhone, so the original question's author and I seem to share similar relevant experience and behavior. I keep hoping to go back and find a missing step. And, while it did take several tries to get to this point, with everything looking like it's right, it appears I've still overlooked something important.
Beyond the "restart" suggestions, has anyone found any strong sensitivities to the order in which things are done, or anything that seems to have become more difficult with XCode 3.2 or iPhone 3.1.3? I notice that the many examples of this question first appeared 18 months ago, then it was silent for quite a while, and now there's been a slew of new queries of this kind.

Getting UDID from deactivated device without iTunes or XCode?

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.

iPhone SDK "loading" on Titanium Developer

I have tried this question on the site of Titanium and several tweets to their account, but they either ignore me or refuse to answer.
I want to start using their framework, but for some reason the iPhone SDK is always "loading" when in the "TEST & PACKAGE" tab.
Have you guys found a fix for this? I have:
Snow Leopard 10.6.3
Titanium Developer 1.2.1
iPhone SDK 3.2
All the certificates "blah blah" from Apple because I am able to test and deploy apps on my device using XCode.
Help please :)
Do you have a name with non-ASCII characters?
There is a bug regarding developer certificates with non-ASCII characters in them.
I've filed a bug report, to Appcelerator's Lighthouse site:
My name has a character with umlaut (ö) which prevents prereq.py from doing what it should. Titanium only says "Loading..." in the SDK version select box.
The patch attached to the page, which changes json parser into simplejson, helps the python script to pass. I run it in console and get the expected output:
'{"wwdr": true,"ipad": false,"sdks": ["3.1","3.1.2","3.1.3"],"iphone_dev_name": ["Björn Söderqvist (XXXXXXXXXX)"],"iphone_dist_message": "Missing iPhone Distribution Certificate","wwdr_message": null,"itunes_message": null,"itunes": true,"iphone_dev_message": null,"iphone_dev": true,"iphone_dist": false,"itunes_version": "9.0.3"}'
Titanium app still reads the output wrong though.
It works if I copy-paste the console output of patched prereq.py like so:
(line 877 of packaging.js)
var d = '{"wwdr": true,"ipad": false,"sdks": ["3.1","3.1.2","3.1.3"],"iphone_dev_name": ["Björn Söderqvist (XXXXXXXXXX)"],"iphone_dist_message": "Missing iPhone Distribution Certificate","wwdr_message": null,"itunes_message": null,"itunes": true,"iphone_dev_message": null,"iphone_dev": true,"iphone_dist": false,"itunes_version": "9.0.3"}'
https://appcelerator.lighthouseapp.com/projects/32238/tickets/646-iphone-sdk-problem-with-non-ascii-characters-in-development-certificate
Unfortunately, the link I refer to in the post does not work anymore. The suggested patch was to do the following to prereq.py:
Line 8
#import json, run, tempfile, codecs
import poorjson, run, tempfile, codecs
Line 139 (replace last line of check_for_package() with this)
print poorjson.PoorJSON().dump(props)
Let me know if you need more specific information.