美文网首页
SDK does not contain 'libarclite

SDK does not contain 'libarclite

作者: 小冰山口 | 来源:发表于2023-12-13 15:30 被阅读0次

一个老OC项目, 想导入一个swift第三方
podfile文件添加了一个use_frameworks!, 然后重新pod install, 就直接跑不起来了

SDK does not contain 'libarclite' at the path这个错误

在网上找到这个原因

libarclite was necessary for older OS versions, but is now obsolete. If you're encountering errors referring to this library, you should audit every target in your project for those that declare support for a minimum deployment target under iOS 11, and update them to at least iOS 11, or something more recent than that. You should not modify your Xcode installation to resolve this.

解决方法如下
podfile文件最后添加下面这段代码, 然后重新pod install

  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

相关文章

网友评论

      本文标题:SDK does not contain 'libarclite

      本文链接:https://www.haomeiwen.com/subject/vggbgdtx.html