crichez/swift-bison

Build Fails Using `xcodebuild`

Closed this issue · 0 comments

Expected Behavior

Using Xcode 13.3 and above, the following command should build the project successfully:

xcodebuild build -scheme swift-bson-Package -destination "platform=macOS,id=$"

where $ is the destination ID for the current macOS machine.

Actual Behavior

Building fails due to a series of "undefined symbol" errors. For examples, see the last failed test run of #1.

Environment

  • Platform: macOS
  • OS version: 11.6, 12.3
  • Xcode version: 13.3
  • Swift version: 5.4.2, 5.6

Additional Information

Builds using the Swift open-source toolchains work as expected. Builds using the swift command on Xcode versions of the Swift toolchains also work as expected. Any builds using xcodebuild on those same versions fail.