I can’t Run my App on my iPhone in Release mode but I can Run it on Debug mode.
In Release mode I get this error even though I am a-signed to a Team.
Signing for "Runner" requires a development team. Select a development team in the Signing & Capabilities editor.
I tried to sign-out from the Team and sign-in again and I also restarted Xcode.
Thank you for any Help LG
6
Answers
I assume that you did not select the team for all. It is only set for debug mode.
For me I had to change my iOS Deployment Target from 8 to 9 or above, after selecting the development team.
For me I had to go to the Build Settings tab, search for Development Team and select a value from one of the available options. Changing the value on the Signing and Capabilities tab was not cascading through to the Build Settings tab. This is likely another XCode bug in xCode 12.
Whole steps from App store to XCode with Certificates, Identifiers & Profiles:
Step1: To Certificates, IDs & Profiles item
Step2: Adding new Certificates
Step3: Adding your personal certification key from the macOS Keychain Access
Step4: Adding your Identifiers
Step5: The Bundle ID should have the same name between App store and Xcode
Step6: Adding your Profiles
I had this after updating to XCode 14. Error is in my Flutter project.
I’ve added these lines to my post-install script in
Podfile
to disable code signing.For those who doesn’t want to add a development team id, you can do the following:
1- Open Podfile
2- Add the following
3- Pod install
4- Run your project