xcode14.3报pod管理的第三方库文件找不到

2023-04-03  本文已影响0人  libtinker

ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a

报错截图 WeChat80d69bdf2c0088ee7e51ca8b5bb592f8.png
这个报错大部分是因为库的最低版本是从ios8开始的

下面是解决手段:在你的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
上一篇 下一篇

猜你喜欢

热点阅读