问题一:pod内的某些Signing & Capabilities editor
proj.ios_mac/Pods/Pods.xcodeproj Signing for "FBSDKCoreKit-FacebookSDKStrings" requires a development team. Select a development team in the Signing & Capabilities editor.
![](https://img-blog.csdnimg.cn/a73b3f6311b04cfa88b87bcc91ab4d3b.png)
proj.ios_mac/Pods/Pods.xcodeproj Signing for "GoogleSignIn-GoogleSignIn" requires a development team. Select a development team in the Signing & Capabilities editor.
![](https://img-blog.csdnimg.cn/848109eae610495c8a402bbd30dde77b.png)
**解:**在podfile文件中,增加以下内容。可自动处理
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
问题二:File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
**解:**在podfile文件中,增加以下内容。最低版本支持 Minimum Deployments 11.0
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end
问题三: Archive 失败
Command PhaseScriptExecution failed with a nonzero exit code
** 解:**
全局搜 source="$(readlink "${source}")" ,替换为 source="$(readlink -f "${source}")"。
问题四:ios 13启动崩溃
**解:降crashlytics版本**
#Firebase
pod 'Firebase/Analytics'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Crashlytics','10.2.0'
pod 'Firebase/Messaging'
参考链接:
Xcode 14.3 Beta File not found:arc/libarclite_iphoneos.a - 简书
Xcode 14.3 Archive 失败 - 腾讯云开发者社区-腾讯云
本文转载自: https://blog.csdn.net/qq_40150532/article/details/130080591
版权归原作者 qq_40150532 所有, 如有侵权,请联系我们删除。
版权归原作者 qq_40150532 所有, 如有侵权,请联系我们删除。