问题
升级到Xcode 14 之后 pod install / pod update 运行项目报错
xxx requires a development team. Select a development team in the Signing & Capabilities editor
解决方案
podfile 中的这个脚本修复添加 Team ID它。将您的团队 ID 替换为项目的团队 ID。
参考 https://stackoverflow.com/questions/72561696/xcode-14-needs-selected-development-team-for-pod-bundles
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["DEVELOPMENT_TEAM"] = "Your Team ID"
end
end
end
end