15

I have a product building in Big Sur with Xcode 13 from the commandline via xcodebuild and generates this warning:

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

Documentation says:

enter image description here

However, there is no such option that I can find:

enter image description here

spartygw
  • 3,289
  • 2
  • 27
  • 51
  • What exactly are the parameters you pass to `xcodebuild`? Perhaps you are including some configuration or an environment variable that is affecting the build? – Michael McGuire May 13 '22 at 18:32
  • `xcodebuild -project MyProject.xcodeproj -alltargets SHARED_PRECOMPS_DIR=/tmp/$APP_NAME Release` – spartygw May 13 '22 at 18:51

2 Answers2

11

In Xcode 13, the "Parallelize Build" checkbox was replaced with two radio buttons: "Dependency Order" (the same as a checked old checkbox) and "Manual Order" (the same as an unchecked old checkbox).

I think it's a good change because the checkbox didn't give a clear picture of what's going to happen when it's unchecked.

On your screenshot, the "Dependency Order" is already selected, so you should be good to go.

Vadim Belyaev
  • 2,456
  • 2
  • 18
  • 23
5

This setting is under Project -> Configurations:

enter image description here

Ivan
  • 673
  • 7
  • 15