Add devices option missing from iOS Provisioning Profile? - ios

I don't know if this is something to do with the new TestFlight integration or a glitch or what, but I just created a new Distribution Porfile for an iOS app and there is nowhere to add my test devices. Normally there is a list of all my test devices in a scrolling window where indicated, but it's not there on this new profile. If I go to a different existing distribution profile that was set up months ago, there is a list there of all devices.
I checked the app store docs here: https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingProfiles/MaintainingProfiles.html#//apple_ref/doc/uid/TP40012582-CH30-SW28, and you can see in the image for step 4, where the list normally appears.
Anyone else seeing this? Any suggestions?

There will not be a device list if you are making a Distribution provisioning profile for the App Store. Make sure you are either creating a Development provisioning profile or you are selecting "Ad Hoc" when creating a Distribution one.

Related

iOS Distribution Provisioning Profile invalidates itself when new devices are added

I've got a Distribution Provisioning Profile I use for distributing my application to QA testers via AdHoc builds / HockeyApp. I'm also part of a team of other developers working on other apps, and they have their own QA teams.
Whenever someone else adds a device to the Apple Developer Member Center (previously the "Provisioning Portal") located at https://developer.apple.com/membercenter/index.action , the Distribution Provisioning Profile becomes Invalid.
To make the profile valid again, I must open up the profile and include all of the newly added devices in the profile, then re-download it.
This is all fine, but it seems unnecessary. My Distribution Provisioning Profile should only need the devices of my app's testers linked to it, not the devices others have added for their own testing purposes.
Does anyone have any information / links to documentation on why this happens (searches only seem to bring up the common issues with provisioning profiles in general that people always run into when starting out), and whether or not there is a way to get around it?
Thanks,
- Adam

"TestFlight Users In The Provisioning Profile" doesn't coincide with users in the AdHoc provisioning profile

I have created a totally new TestFlight account, when I add the build to the account I see 79 users under TestFlight Users In The Provisioning Profile. The problem is that I have built the application using an ADHoc provisioning profile that contains just 3 devices, so why I'm seeing the full list of devices that I've registered with the Apple Developer Portal and not just the device that are available in the Provisioning profile (as stated by the sentence TestFlight Users In The Provisioning Profile) ?
I occasionally run into this problem and get it working again after trying a few things.
Restart Xcode. (It's amazing how often that solves the problem.)
Make sure that you are bundling the correct provisioning profile with the app when archiving and exporting. If you're using Xcode 6, the process has been changed a bit and you might be including the wrong profile. (Look in your Build Settings and then also look at the details on each screen as you are exporting the archive.)
Try re-generating your provisioning profile.
Make sure you have refreshed your account in Xcode so that it has the latest provisioning profile.
If those don't work, try creating a new signing certificate and generating your profile with that.
Then refresh your account in Xcode again.
If that's still not working, try removing your account from Xcode completely, restarting Xcode, and adding your account again.
Those are some of the tricks I use to get things working again. Maybe there is a more definitive answer out there.
I have also face the same problem.
This is because the provisioning profile you create from apple developer account.
Have that 79 devices register with that apple developer account.
Please check that account once.

How to add a device to an existing Ad-Hoc Provisioning Profile?

Have just noticed that Apple redesigned iOS Dev Center this weekend.
I need to add a couple of devices to an existing Ad-Hoc provisioning profile. But when I push Edit button, I can change only Name and App ID.
Is it any way to do it except of the obvious one: to delete the existing profile and create a new one with all required devices?
UPD.
Now I can edit the list of devices for development profiles, but not for distribution.
UPD. 2
Can edit devices for new distribution profiles, but can't do it for old.
It Works!
Apple fixed it. So it was a bug. Now you can edit your embedded device list, even if it's an Ad Hoc distribution profile.
I looked into this on the forum and found a reference to the new App Distribution Guide. You need to delete your old profile and create a new one. You'll be given the choice at that time to add devices to the new profile. The feeling is that Apple has changed the format of the profile and this is a way of forcing you to recreate a new profile in the new format.
It seems you can't edit it (generate button isn't enabled) if for example you have underscores in the profile name.

Adding provisioning profile to new device on existing project

I'm confused as to how to add a provisioning profile to a new device. So I'm using Xcode 4.3.2, and TestFlight. I was given a pre-existing project and a team license via the company I'm helping out. The provisioning profile on developer.apple.com had certain devices already set up. So I added all these devices as testers to TestFlight, sent out an archived build, no problems, worked fine.
Now, one of the testers wants to try out testing on an iPad. So, I sent them an invite via TestFlight, and their device automatically registered on TestFlight. I see their UDID, and device, etc. However, their device is listed under "Teammates Devices Not On This Profile". So, I followed the prompts, exported the missing UDID to a file, and uploaded the file to the Provisioning Portal. I see the iPad now under "Devices" in the Provisioning Portal, however it is listed with 0 profiles associated. How to I associate the provisioning portal of this app with the iPad? Is there some simple step I'm missing? Keep in mind this iPad is in a foreign location, so I have no control over it. I need to tell them what they need to do (or automate it myself). Please help!
You need to add the device to the provisioning profile. Then, build the project again using the updated provisioning profile. And upload that build to test flight.
Or, I believe TestFlight has a new feature that allows you to simply update the build with the new profile without having to create a new build.

app store binary: the executable was signed with invalid entitlements

I'm about to build my first ipad application. I followed the steps listed here for creating the binary: How do I build an xcode project for the itunes store? (see first answer).
Unluckily, I get the already mentioned alert when trying to build on my ipad. I can build with the simulator, though, without any problem. Is it possible to make an app store build with an app store distribution profile on an ipad? When I select the distribution profile on the organizer, I read the text: This profile cannot be installed on devices.
Sorry if this is a question that has been asked before. I searched on stackoverflow and on the internet and couldn't find any answer. By the way, I had created an ad hoc distribution and that worked perfectly on the ipad. I don't have any Entitlements.plist since I didn't need it for the ad hoc distribution.
You'll need two provisioning profiles. The development one is for putting your app on devices for testing. The distribution is for submitting your application to iTunesConnect.
You have to swap between the two provisioning profiles when you want swap between putting the app on the device and the store. Consider creating targets to achieve this.

Resources