-
-
Notifications
You must be signed in to change notification settings - Fork 18
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 other platform sdks from generated xcode project. #52
Conversation
* This also adds support for calling swift bundler's --platform switch with its apple equivalent (ex. --platform xros is the same as --platform visionOS.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you thought you could get away with it...
@stackotter Attempted to run a Oh gross, I just noticed you are using apple's Copying over your existing settings with a --indent 2
--indentcase true Only changes 94 files (compared to 134) with far less changes. |
Sources/swift-bundler/Bundler/SwiftPackageManager/Platform.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 🎉
swift bundler generate-xcode-project
, which would otherwise cause the app to be built for the wrong device, macOS, and be unable to be launched from the user's selected run destination.--platform
switch to be synonymously called with apple platform sdk equivalents.As an example:
swift bundler run --platform xros
Is now also exactly equivalent to: