build-script doesn't generate TokenKinds.def for Xcode builds
#63580
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
build-script
Area → utils: The build script
cmake
contributor experience
generated Xcode project
swift 5.9
unexpected behavior
Bug: Unexpected behavior or incorrect output
utils
Area: the build system and other accessory scripts under the "utils" directory
Description
This makes it difficult to work with things like
tok::kw_s.Steps to reproduce
Generate the project using
utils/build-script --swift-darwin-supported-archs "$(uname -m)" --debug --llvm-cmake-options="-DLLVM_OPTIMIZED_TABLEGEN=ON" --xcode --clean(this command differs from the one recommended in the Getting Started guide only by the additional--debug --llvm-cmake-options="-DLLVM_OPTIMIZED_TABLEGEN=ON", which shouldn't matter much).Follow the rest of the steps for setting up the Xcode project: https://github.com/apple/swift/blob/72f9c3ff122e5f79d63cbaff44a1e2db95e36286/docs/HowToGuides/GettingStarted.md#using-ninja-with-xcode
Look for
TokenKinds.defin the project, and find onlyTokenKinds.def.gyb.Expected behavior
TokenKinds.defshould be generated.Environment
The text was updated successfully, but these errors were encountered: