HandlyJSON在XCode 15.3进行Release下报错

 

https://blog.csdn.net/qq_38238956/article/details/143113346

用上面的 下面的失效 解决不了

https://www.jianshu.com/p/3249b5731b50

 

用上面的解决方案 每次pod install 打包时都需要重新修改

 

最佳解决方案 

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      # 设置 HandyJSON 的编译模式为 Incremental
      if target.name == 'HandyJSON'
        config.build_settings['SWIFT_COMPILATION_MODE'] = 'incremental'
      end
    end
  end
end

 

posted @ 2024-06-13 12:01  黄增松  阅读(14)  评论(0)    收藏  举报