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
For those who doesn't want to add a development team id, you can do the following:
1- Open Podfile
2- Add the following
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end
3- Pod install
4- Run your project
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.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end
end
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.