Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: "No devices registered in member center" - Invalid UDID?

I am receiving the errors "No matching provisioning profiles found"[for your UDID], "The selected team doesn't have an iOS Developer Program membership" (Yes, it does. It's active.), and "Unable to create provisioning profile because your team has no devices registered in the Member Center. Please connect a device and enable it for development, and add it to the Member Center." (I already have an active provisioning profile in the Member Center.).

When I try to register my Macbook as a development device, I receive the error, "Please enter a valid Hardware UDID". My path is iOS Developer site->Members Center->"Manage your certificates, App IDs, devices, and provisioning profiles."->Devices->Register Manually. I copy and pasted my Macbook's Hardware UDID from About This Mac->More Info->System Report-> Hardware UDID.

Do I have to provide Xcode with an Apple iOS device (Not just an Apple device like my Macbook) in order to publish my completed, simulator tested code? Is there something else I'm supposed to do with this?

like image 691
user2847499 Avatar asked Oct 04 '13 17:10

user2847499


People also ask

Is device ID and UDID same?

Every Apple iPhone, iPod touch and iPad has a unique device ID number associated with it, known as a Unique Device ID (UDID). Apple's device ID is a 40-digit sequence of letters and numbers. Customers can access their device ID numbers in iTunes or by downloading a free app from the Apple App Store.

What is UDID number in iPhone?

Every iPhone, iPad and iPod Touch has a Unique Device Identifier (UDID), which is either a 40-character alphanumeric string (on iPhone X models and prior.) Or a 24 character identifier with a dash after the 8th digit, on iPhone XS and subsequent models) that is unique to each device.

What is the UDID number?

A unique device identifier (UDID) is a 40-character string assigned to certain Apple devices including the iPhone, iPad, and iPod Touch. Each UDID character is a numeral or a letter of the alphabet.


2 Answers

This answer is posted a bit further down the line than when the question was posted. I'm using Xcode 6, but had the same issue. The deal is that Xcode is looking for a provisioning profile that has an iOS device associated with it. In this case 'development device' means an iOS device - a target device, if you will, and not the machine you are developing on.

Step 1

To create a Provisioning Profile, you’ll need to log in to your Apple Developer account (http://developer.apple.com, then go to Member Center in the nav at the top of the site). Supposedly you can also do it from the Organizer window in Xcode, but I couldn’t.

Once you log in to your developer account, enter the ‘Certificates, Identifiers & and Profiles’ area and you will see a short article titled Getting Started with iOS Provisioning Profiles. Read it, it’s short and helpful.

Near the bottom of the article is a link to create provisioning files manually. Click it. This will take you to a short wizard for generating provisioning profiles.

If you read that little article, you’re aware that there are two kinds of provisioning files - development and distribution. Or maybe you already knew. But be sure to know now, because the first step in this process is to select whether to create a profile for development or distribution. I haven’t set up a profile for distribution, yet, so the rest of this answer will fork towards setting up a profile for development.

Step 2

You can set up a development profile one of two ways -

  1. A specific profile for a specific app (and remember, you can create multiple profiles)
  2. A wildcard profile that you can use in the development of any app

The wildcard option works best for my situation, but I expect the remaining steps to be more or less the same, either way.

Step 3

The next step in the process is to register your device/s. You have the option of registering just one device for your provisioning profile, or multiple. Either way, the process is the same - you need to provide a name and a UDID for each device you register to the profile.

Getting the UDID

Getting the UDID may seem tricky if you don’t already know how to get this information, but it's easy. Plug your device in to your machine, open iTunes, and view your device. You will see your device’s Serial Number listed. Click on it, and it will change to your device’s UDID. Incidentally, if you click on the UDID, you’ll get the ECID, and after that the Product Type.

To copy the UDID, go to iTunes main menu Edit -> Copy UDID. The normal Copy functionality has temporarily changed to ‘Copy UDID’. Note that you can not select the UDID in your dashboard and copy it that way.

All that’s left is to click the Continue button, and then confirm that the information you’ve entered is correct before hitting the Continue button for the last time. You can edit your info at this point, but once you hit the Continue button the profile can’t be uncreated.

And that’s it.

Two blog posts that helped me walk through this, complete with extensive instructions and images, are:

Device Provisioning at developer.xamarin.com http://developer.xamarin.com/guides/ios/getting_started/installation/device_provisioning/

Finding Your iPhone’s Unique Identifier (UDID) at www.innerfence.com https://www.innerfence.com/howto/find-iphone-unique-device-identifier-udid

like image 169
Ross Henderson Avatar answered Oct 03 '22 23:10

Ross Henderson


No need to copy UDID of your Mac! That's insane.

Instead, you need a real iDevice to publish and release iOS apps. You connect your devices and add them to portal in the XCode Organizer: enter image description here When the device was added - it has a green indicator near it. And yes, you can then submit an iOS app provided the device you connected is OK and the build target is indeed the iDevice.

like image 43
Sergey Grischyov Avatar answered Oct 03 '22 22:10

Sergey Grischyov