Xcode14Beta版本Pods报错:Select a development team in the Signing & Capabilities editor
具体报错如下:
Pods目录下的bundle需要sign
有2个解决办法:
1、将bundle打进framework中,跟随framework签名即可
2、如果bundle和framework是分开的,即目前我出现的问题,解决办法如下:
项目中Podfile中加入以下代码之后,pod install后生效:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['DEVELOPMENT_TEAM'] = 'xxxxx'
end
end
end