使用xcodebuild命令,如果对应的xcode版本是13.2以上,则会有以下提示:
note: Using new build system
note: Planning
note: Build preparation complete
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
解决方法
1.直接在工程项目里面添加

添加上该属性key为DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING,value值为YES
DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING = YES;
当使用xcodebuild命令且Xcode版本为13.2及以上时,会出现手动目标顺序警告。解决方法是在工程中添加属性DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING,设置其值为YES,以抑制此警告。

493

被折叠的 条评论
为什么被折叠?



