升级xcode14.3报错 File not found: .../libarclite_iphoneos.a

文章描述了在升级Xcode到14.3后遇到的编译错误,涉及libarclite_iphoneos.a文件未找到的问题。解决方案是在Podfile中添加代码段设置IPHONEOS_DEPLOYMENT_TARGET为11.0,然后在终端执行podinstall进行修复。对于路径包含空格的情况,需使用反斜杠进行转义。
摘要由CSDN通过智能技术生成

刚升级完xcode至14.3,编译工程报错File not found: …/libarclite_iphoneos.a

解决方案:
1、在podfile文件中,在最后一个end之前,插入以下内容:
在这里插入图片描述

post_install do |installer|
    installer.generated_projects.each do |project|
          project.targets.each do |target|
              target.build_configurations.each do |config|
                  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
               end
          end
   end
end
 

2、然后到通过终端到podfile所在目录下,执行命令 “pod install” 。
cd进入目录时,可能路径有空格的,会提示 “cd: string not in pwd”,在空格前加个 “\” 转义字符就好了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值