skip to Main Content

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

Is this right?
enter image description here

6

Answers


  1. I assume that you did not select the team for all. It is only set for debug mode.

    enter image description here

    Login or Signup to reply.
  2. For me I had to change my iOS Deployment Target from 8 to 9 or above, after selecting the development team.

    screenshot

    Login or Signup to reply.
  3. Build Settings TabFor 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.

    Login or Signup to reply.
  4. Whole steps from App store to XCode with Certificates, Identifiers & Profiles:
    Step1: To Certificates, IDs & Profiles item
    enter image description here
    Step2: Adding new Certificates
    enter image description here
    enter image description here
    Step3: Adding your personal certification key from the macOS Keychain Access
    enter image description here
    Step4: Adding your Identifiers
    enter image description here
    Step5: The Bundle ID should have the same name between App store and Xcode
    enter image description here
    enter image description here
    Step6: Adding your Profiles
    enter image description here
    enter image description here
    enter image description here

    Login or Signup to reply.
  5. 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
    
    Login or Signup to reply.
  6. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search