Home > Back-end >  Signing for "GoogleSignIn-GoogleSignIn" requires a development team
Signing for "GoogleSignIn-GoogleSignIn" requires a development team

Time:09-19

After updating to Xcode 14 I'm getting the following error:

Signing for "GoogleSignIn-GoogleSignIn" requires a development team. Select a development team in the Signing & Capabilities editor.`
 

I've tried doing pod update but it doesn't work.

CodePudding user response:

I had the same issue after switching to Xcode 14. Add this to your podfile and call pod install. This will permanently fix the issue.

post_install do |installer|
  installer.pods_project.targets.each do |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
  • Related