Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage instructions for xcodebuild #43

Closed
Brett-Best opened this issue Feb 1, 2025 · 2 comments · Fixed by #113
Closed

Usage instructions for xcodebuild #43

Brett-Best opened this issue Feb 1, 2025 · 2 comments · Fixed by #113
Assignees

Comments

@Brett-Best
Copy link

It would be nice if usage instructions for xcodebuild were added, if that's something currently supported.

@jakepetroules
Copy link
Collaborator

Great idea! That's definitely something you can do by setting the XCBBUILDSERVICE_PATH environment variable to the path of the SWBBuildServiceBundle executable.

Perhaps we can add a convenience command plugin that launches xcodebuild with the built Swift Build service process, similar to the one for Xcode.app shown here: https://github.com/swiftlang/swift-build/blob/main/Plugins/launch-xcode/launch-xcode.swift

@aciidgh
Copy link
Collaborator

aciidgh commented Feb 4, 2025

Is xcodebuild also open source?

Nope

jakepetroules added a commit that referenced this issue Feb 7, 2025
…xcodebuild

This adds a new "run-xcodebuild" command plugin similar to "launch-xcode", which will run xcodebuild pointed to the just-built Swift Build service, forwarding along any arguments passed to the plugin.

Also includes some minor error handling improvements and doc tweaks to the existing launch-xcode plugin.

Closes #43
@jakepetroules jakepetroules self-assigned this Feb 7, 2025
jakepetroules added a commit that referenced this issue Feb 8, 2025
…xcodebuild

This adds a new "run-xcodebuild" command plugin similar to "launch-xcode", which will run xcodebuild pointed to the just-built Swift Build service, forwarding along any arguments passed to the plugin.

Also includes some minor error handling improvements and doc tweaks to the existing launch-xcode plugin.

Closes #43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants