I did everything that everyone offered, but none of them fixed my problem.
Using Xcode 7.3.1, what to fix:
Change the settings to run the application on the simulator. If he is configured to work on the device, and the udid device is not included in the training profile, he (erroneously) will yell at you.
Go to your project> Goal> Build Settings> Code Signing> Profile Profile and change it from "Automatic" to select the desired profile. At the moment, if you have not changed the application to run on the simulator, you may receive a warning to “Fix Issue”. Do not do this!
After you manually select your provisioning profile from the list, archive the application. Viola!
jungledev Aug 12 '16 at 18:50 2016-08-12 18:50
source share