Xcode10 的Workspace Settings中Build System默认使用了新的构建模式:New Build System(Default),另一个可选项是:Legacy Build System,即:旧版构建系统。

  • 使用Xcode编译时,如果出现编译失败的问题,建议选择Legacy Build System选项,调回到传统构建模式。
  • 如果使用脚本xcodebuild打包时,可用命令指定编译模式:
    -UseModernBuildSystem=<value>
    value 可以是0或者NO时,使用 Legacy Build System, 使用1或者YES则为New Build System
    xcodebuild -configuration "Release" -target "${FrameWork_NAME}" -sdk iphoneos clean build -UseModernBuildSystem=NO

相关文章:

  • 2022-01-08
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-27
  • 2021-12-01
  • 2022-12-23
  • 2021-06-07
  • 2021-06-20
  • 2022-12-23
相关资源
相似解决方案