All Collections
iOS
I cannot add a device with an iOS App, what to do?
I cannot add a device with an iOS App, what to do?

Personal Free, Personal Pro, Organization, Enterprise

Yukari avatar
Written by Yukari
Updated over a week ago

Problem Details

After adding a UDID in the Developer Center and updating the provisioning profile. Then clicking Archive/Export on Xcode and uploading the created IPA files. However, the DeployGate service displays the message "There are no added or deleted UDIDs."

Cause

  • A provisioning profile that is not the one updated was used at the export time.

  • A provisioning file that is not associated with the App ID was updated.

If a provisioning profile with the same name and expiration date already exist, even if the updated provisioning profile is installed, the existing profile might be used at the time of the export. With Xcode 6 or earlier, you can update from “Accounts/View Details”; however, with Xcode 7, this has been changed to “Download All,” so that is no longer an option. In this case, please empty the Provisioning Profiles folder first, then click “Download All” (or do an export) to resolve the problem. For more details, please see below.

Solution

Xcode's export functionality automatically selects a provisioning file based on the App ID. In this case, it is possible that at the export time it unintentionally used a different provisioning file from the one that you used for adding the device in the Developer Center.

To ensure that it selects the correct provisioning file, please follow the steps below:

1. Delete Unnecessary Files from the Developer Centers’ Provisioning Profiles

In some scenarios, such as when there are multiple iOS distribution profiles for the same App ID, the incorrect profile may be selected. Therefore, you need to delete any unnecessary files.

2. Delete the Provisional Profiles Cached by the Local Xcode

Select all the mobileprovision files found in ~/Library/MobileDevice/Provisioning Profiles and throw them in the recycle bin. (Or select your account from Xcode - Preferences - Accounts, select the list of all the profiles displayed by “View Details” right-click and select “Move to Trash”).

With Xcode 6 or later, the necessary mobileprovision files are automatically downloaded by the Developer Center when performing an export, so these can be deleted without a problem.

Create a provisioning file with a new name, then archive it and export it. Please verify that at export time, the profile with the newly created name has been selected correctly.

Xcode Summary from the archive to export:

747426-1.png
Did this answer your question?