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

刚升级完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”,在空格前加个 “\” 转义字符就好了

猜你喜欢

转载自blog.csdn.net/bangtanhui/article/details/130565314