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

Support building with Xcode #14

Merged
merged 7 commits into from
Nov 14, 2023
Merged

Support building with Xcode #14

merged 7 commits into from
Nov 14, 2023

Conversation

kabiroberai
Copy link
Owner

@kabiroberai kabiroberai commented Nov 13, 2023

swift build doesn't support macros when cross-compiling, which is commonly needed for building universal macOS binaries (or even iOS if you're feeling frisky). Allow using xcodebuild to work around this. See: swiftlang/swift-package-manager#6950.

Ideally, we would instead pass --build-system xcode to SwiftPM but that doesn't seem to support macros either.

For easy viewing, I'd recommend looking at the PR diff with whitespace changes hidden.

@kabiroberai kabiroberai merged commit 7313dd5 into master Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant