Skip to content

Swift package support issue #99

@wvabrinskas

Description

@wvabrinskas

I'm attempting to run

xcode-build-server config -workspace /Users/williamvabrinskas/Documents/xcode/NumSwift/.swiftpm/xcode/package.xcworkspace -scheme NumSwift

In my swift package directory however I'm shown this error:

Traceback (most recent call last):
  File "/opt/homebrew/bin/xcode-build-server", line 114, in <module>
    main()
    ~~~~^^
  File "/opt/homebrew/bin/xcode-build-server", line 77, in main
    main(subcommand_argv())
    ~~~~^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/xcode-build-server/1.2.0/libexec/config/cmd.py", line 95, in main
    build_dir = output[0]["buildSettings"]["SYMROOT"]
                ~~~~~~^^^
IndexError: list index out of range

There technically isn't any "runnable" targets in a Swift package so maybe this error is correct, but I should still be able to Build without running and generate a config no?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions