iOS device UDID - ios

I need to add an iOS device to iTunes connect for develop and testing - the registration of a new device requires a UUID.
Where can I find an iOS device UUID/id?

As of macOS Catalina (macOS 10.15), iTunes isn't available. But you can get the UDID using Finder. Connect your iOS device to your computer and open Finder. You should see your iOS device listed under Locations on the left side of the Finder window. Select your iOS device. Details about your device will appear on the right side of the Finder window. At the top will be an icon of your device showing your device's name (such as "Bob's iPhone 11"). Under that will be type of device, disk size and available space, and your battery level. Tapping on the line with the batter level a few times will cycle through other details about the iOS device. One of these will include the UDID. Once displayed you can right-click on the UDID and select Copy to copy the serial number and UDID to the pasteboard.
For those with Xcode, you can get the device's UDID from the Devices and Simulators window. Select the Devices tab on that window. Select the iOS device on the left side under Connected. In the detail pane on the right you will see Identifier: followed by the UDID. Right-click on the UDID to copy it to the pasteboard or share it in some desired fashion.
Old answer for those still using iTunes
Connect your iPhone to your computer and open iTunes. Select your device in iTunes so you can see the serial number. Click on the serial number. The UDID will take its place. You can copy & paste the UDID that's displayed on the screen.

If one of these tutorials don't do it for you, then nothing will!
http://whatsmyudid.com // For old iTunes versions
or use this - http://get.udid.io // For new iTunes versions
or use this - Working https://udidiphone.com for UDID, IMEI, Serial Number, OS Version, Build Number

If nothing is showing up in iTunes, you have to open up Xcode, go to the devices list (Window -> Devices and Simulators) and then click on the devices tab. Under devices, select your device in the left sidebar and it will show your udid in the main window. You can also just click use for development and it will register your device for you.

Related

Remove iPad screenshot option for publishing iOS App

I am trying to publishing my app in the App Store. My app is only for iOS Mobile. But when I try to added the app screenshots I found there is an iPad option.
Now, I want to remove the iPad screenshot option in App Store Connect.
I didn't find any solution.
In XCode, select your target and select the General tab.
From here, remove the iPad under the "Supported destination" section, by clicking the minus sign:
This will disable iPad support and remove the iPad screenshots tab from App Store Connect.
No way to do that without removing support for ipad users

Installing apps on my own device through Xcode

I’m quite new to Xcode and I’m only interested in making apps as a hobby. I would like to install my own apps that I make on my own devices without using the App Store (without paying the £99/year developer fee). So I would like to know the following:
How can I install an app through Xcode so that the app remains on my iPhone after disconnecting it from my Mac?
How long will the app remain on my iPhone i.e. how long until I have to manually reinstall it? (I’ve seen some websites that say 7 days and some that say 1 year)
This is something else really but am I right in thinking to use the TestFlight app I’d need to pay the £99/year developer fee?
If it helps all my devices are running the latest software versions.
Yes, you can use your own device for testing purposes and it will remain on your phone after you disconnect it.
To set this up, connect your device to your Mac. Then, click the simulator selection dropdown in the top left of Xcode. It might say Generic iOS Device if you haven't selected a simulator since opening Xcode. At the bottom of that dropdown menu, you should see a button that says Add additional simulators...
At the top of the window that comes up after you click Add additional simulators.. there should be a Devices tab. Select that tab and add your device via the + icon in the bottom left of the window. Once connected and paired, you can travel back to the simulator dropdown menu and scroll up. Your device should be listed there if it's plugged in and paired. Select the device and run your app - Xcode will take care of installation.
Without purchasing the Apple Developer Program, your app will function on your phone for one week after the most recent run.
Yes, you are correct. TestFlight is something that comes with the Apple Developer Program.

Itunes connect device famly, only submit for iphone

I want my app to only support iphone/ipod. Yet for some reason itunes connect still thinks I'm submitting for Ipad as well. If you noticed below I have my device family set properly to 1 for Iphone/ipod.
Whats up here? Am I missing a setting in xcode?
Can you please share your deployment target screen?
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html
To set the target devices
In the project navigator, select the project and your target to display the project editor.
Click General and, if necessary, click the disclosure triangle next to Deployment Info to reveal the settings.
From the Devices pop-up menu, choose iPhone, iPad, or Universal (to target both families).

How to test App on a real iphone using Xcode 6?

As Xcode 6 is quite new, and the layout is a bit different from Xcode 5. I have no idea how to test my App on a real iphone using Xcode 6. I want to test my App on my iPhone 5s. I have joined the developer programme. Are there any step by step tutorials? Thank you.
If the above description doesn't work,
Just start XCode 6
Connect your iPhone 5S
Select "Devices" in the Window menu
Select your iPhone 5S on the left side under "Devices"
Press on "Use Device for development"
From this point on, you should be able to select your iPhone 5 as destination for the build.
XCode 6 has the Organizer split into "Organizer" and "Devices" so maybe you are just missing the "Devices" screen.
After xCode5 this process is more easier. Plug your device, run you project with the device selected
xcode will automatically created a provision profile for you.
You need first to associate your apple account with xcode
xCode->Preferences->Accounts
Just connect your phone to your mac with the USB cable, and then select your device like this:

Setting the Destination to iOS Device in Xcode 4.2

Yet, I have Xcode 4.2 open and my source code.
In the top left scheme dropdown, I have the scheme set but on the right hand side of that dropdown, its got my device set there.
I don't want my device set there because I'm not testing anymore.
I want to build/archive for distribution.
I want to see iOS Device in that target but I don't see it there.
Any idea how I can get iOS Device to be listed in that destination dropdown?
Currently, it has ipad and iPhone simulators and my own iPhone name.
Just select your iPhone name and go to Product -> Archive.
Or unplug all your iOS devices and then there will be shown iOS Device label.

Resources