Coder Social home page Coder Social logo

[XCode 14 issue]: No signing certificate iOS Development found. needs selected Development Team for Pod Bundles about fastlane HOT 7 CLOSED

salvatoreboemia avatar salvatoreboemia commented on April 23, 2024
[XCode 14 issue]: No signing certificate iOS Development found. needs selected Development Team for Pod Bundles

from fastlane.

Comments (7)

josher8 avatar josher8 commented on April 23, 2024 16

Add this to your podfile then run pod install again.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
    end
  end
end

from fastlane.

fastlane-bot avatar fastlane-bot commented on April 23, 2024

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

from fastlane.

salvatoreboemia avatar salvatoreboemia commented on April 23, 2024

Add this to your podfile then run pod install again.


post_install do |installer|

  installer.pods_project.targets.each do |target|

    target.build_configurations.each do |config|

      config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'

    end

  end

end

Super!!! Thanks

works perfectly with both Xcode 14 local and Azure fastlane

from fastlane.

crazymanish avatar crazymanish commented on April 23, 2024

This is the CocoaPods issue:

closing it

from fastlane.

JorgeAGomez avatar JorgeAGomez commented on April 23, 2024

Add this to your podfile then run pod install again.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
    end
  end
end

This did the trick for me. Thank you!

from fastlane.

bshirley avatar bshirley commented on April 23, 2024

This may solve the problem differently:

post_install do |installer|


  # This may only be needed temporarily for XCode 14. Two pods needed signing identities.
  # An update to Xcode 14.0 or cocoapods 1.11.3 might remove the need for this.
  # Get main project development team id
  dev_team = ""
  project = installer.aggregate_targets[0].user_project
  project.targets.each do |target|
      target.build_configurations.each do |config|
          if dev_team.empty? and !config.build_settings['DEVELOPMENT_TEAM'].nil?
              dev_team = config.build_settings['DEVELOPMENT_TEAM']
          end
      end
  end
  
  # Fix bundle targets' 'Signing Certificate' to 'Sign to Run Locally'
  installer.pods_project.targets.each do |target|
      if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
          target.build_configurations.each do |config|
              config.build_settings['DEVELOPMENT_TEAM'] = dev_team
          end
      end
  end  

end

from fastlane.

Yusufkhan11223344556677 avatar Yusufkhan11223344556677 commented on April 23, 2024

Hi

since I set up on Azure XCode 14 the fastlane fails in the build_app phase

Local XCode 14 works (assigning the teamID to the two PODs

ERRORS:

- /Users/runner/work/1/s/Pods/Pods.xcodeproj: error: No signing certificate "iOS Development" found: 
No "iOS Development" signing certificate matching team ID "XXXXX" 
with a private key was found. (in target 'POD NAME XXXX' from project 'Pods')

- /Users/runner/work/1/s/Pods/Pods.xcodeproj: error: No signing certificate "iOS Development" found:
No "iOS Development" signing certificate matching team ID "XXXXX" 
with a private key was found. (in target 'POD NAME XXXX' from project 'Pods')
Screenshot 2022-09-06 at 12 24 41

Do you have any suggestions on how to fix this error?

Thanks

from fastlane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.