Signing for "GoogleSignIn-GoogleSignIn" requires a development team

Viewed 573

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.

2 Answers

From the target POD Select

GoogleSignIn-GoogleSignIn

then go to the team drop list and select your team

enter image description here

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