在更新到Xcode 14之后,我收到以下错误:

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

我试过做Pod更新,但不起作用.

推荐答案

在切换到Xcode14后,我也遇到了同样的问题.将此添加到您的播客文件中,然后拨打pod install.这将永久解决该问题.

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

Swift相关问答推荐

通过withstickedContinuation传递通用类型T

向文本元素添加背景色失败

如何访问用户选定目录下的(只读)文件?

如何在SWIFT中轻松格式化公制和英制使用的UnitVolume

我可以为UIMenu设定一个固定的订单吗?

在数组中查找最大y值的x值

无论玩家移动到视图内的哪个位置,如何使用 SpriteKit 让敌人向玩家emits 子弹?

数组中某些元素的总和

使用泛型的 Swift 枚举值

自定义 DispatchQueue 服务质量

无法分配给属性:absoluteString是一个只能获取的属性

如何将回调传递给 View init

Swift中的分段错误

使用 swift 运行 pod install 时出错

SwiftUI 中的 .primary 和 .secondary colored颜色 是什么?

EXC_BREAKPOINT 崩溃的原因范围

Xcode 7.3 Swift 的语法高亮和代码完成问题

将if let与逻辑或运算符一起使用

如何在Swift中找出字母是字母数字还是数字

DispatchQueue:不能在非主线程上使用 asCopy = NO 调用