美文网首页
flutter module升级xcode15后报错

flutter module升级xcode15后报错

作者: 下线的时候 | 来源:发表于2023-10-03 15:07 被阅读0次

SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a'; try increasing the minimum deployment target

1、需要在podfile文件增加版本号说明(module里面的podfile修改方式可以查看之前文章Flutter module修改cocoapods配置

在podfile文件后面添加以下代码:

target.build_configurations.each do |config|
     config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end

完整代码如下

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
    flutter_additional_ios_build_settings(target)
  end
end

相关文章

网友评论

      本文标题:flutter module升级xcode15后报错

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