升级到xcode 14.3相关问题(有毛病)

目录

问题一:pod内的某些Signing & Capabilities editor

问题二:File not found:         /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

问题三: Archive 失败

问题四:ios 13启动崩溃



问题一: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.

        

        proj.ios_mac/Pods/Pods.xcodeproj Signing for "GoogleSignIn-GoogleSignIn" requires a         development team. Select a development team in the Signing & Capabilities editor.

        

        解:在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 失败 - 腾讯云开发者社区-腾讯云

        

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
Xcode 14.3是一个开发工具,用于编写、调试和部署iOS、iPadOS、tvOS、watchOS和macOS应用程序。它包括Swift 5.8和适用于不同操作系统版本的软件开发工具包(SDK)。Xcode 14.3还支持在iOS 11及更高版本、tvOS 11及更高版本和watchOS 4及更高版本上进行设备调试。要使用Xcode 14.3,需要在运行macOS Ventura 13.0或更高版本的Mac上安装。如果您对深入学习Xcode感兴趣,还有很多知识需要继续学习和探索。您可以查阅相关教程和文档来了解更多关于Xcode 14.3的用法和功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [Apple Xcode 14.3 (14E222b) 正式版发布下载](https://blog.csdn.net/netgc/article/details/130083854)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [IOS开发入门之Xcode使用教程详细讲解(全)](https://blog.csdn.net/qq_38432165/article/details/87901488)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值