Ad Hoc application-identifier entitlement doesn't match?

I'm getting the following error message from Xocde 9 GM (never got this message for the same project with Xcode 8) when try to do an Ad Hoc distribution export of an iOS app archive from the Organizer.


Profile doesn't match the entitlement file's value for the application-identifier entitlement.


The bundle identifier and the App ID do match. So where is the new mismatch?

Accepted Reply

Quitting Xcode, deleting all the *.mobileprovision files from my Library/MobileDevice directory (I found 50 there, over one years worth of expired ones), then doing a Download Manual Profiles in Xcode Preferences, fixed the issue. No more error message during an Ad Hoc export.

Replies

Quitting Xcode, deleting all the *.mobileprovision files from my Library/MobileDevice directory (I found 50 there, over one years worth of expired ones), then doing a Download Manual Profiles in Xcode Preferences, fixed the issue. No more error message during an Ad Hoc export.