xcode 14.3 file not found libarclite_iphoneos.a

最近升级到xcode 14.3 版本的同学,会遇到这个一个问题
File not found: /Users/johnson/Downloads/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a

解决方法(亲测有效)

在podfile文件中,增加以下内容

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

加好后记得 pod install

参考博客:
Xcode 14.3 Beta File not found:arc/libarclite_iphoneos.a - 简书

猜你喜欢

转载自blog.csdn.net/baidu_40537062/article/details/129990928