Bug Using Ninja when Generate the Xcode project.

I used the command:

utils/build-script --swift-darwin-supported-archs "$(uname -m)" --xcode --clean

and encountered the following error:

CMake Error at cmake/modules/SwiftUtils.cmake:24 (message):
  Error! Variable THIN_INPUT_TARGETS is false, empty or not set.
Call Stack (most recent call first):
  stdlib/cmake/modules/AddSwiftStdlib.cmake:3068 (precondition)
  stdlib/public/libexec/swift-backtrace/CMakeLists.txt:39 (add_swift_target_executable)

Please let me know the solution to this error.

Thank you.

Have a great day as well. 👍

Replies

Ninja is not an Apple product.