Skip to content

Instantly share code, notes, and snippets.

@macdrevx
Last active December 24, 2020 01:51
Show Gist options
  • Save macdrevx/9833a0852198f3828ce0b40e76e7fb9b to your computer and use it in GitHub Desktop.
Save macdrevx/9833a0852198f3828ce0b40e76e7fb9b to your computer and use it in GitHub Desktop.
xcodebuild SPM
# The following commands were run in the root of https://github.com/GEOSwift/GEOSwift at commit 06f48c2c7185799b02a6f417fee7af4afc0cb2f3
$ xcodebuild -version
Xcode 12.3
Build version 12C33
$ xcodebuild -list
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -list
Information about project "GEOSwift":
Targets:
GEOSwift-iOS
GEOSwift-iOSTests
GEOSwift-tvOS
GEOSwift-tvOSTests
GEOSwift-macOS
GEOSwift-macOSTests
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
GEOSwift-iOS
GEOSwift-macOS
GEOSwift-tvOS
$ xcodebuild -scheme GEOSwift -destination 'generic/platform=iOS'
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme GEOSwift -destination generic/platform=iOS
xcodebuild: error: The project named "GEOSwift" does not contain a scheme named "GEOSwift". The "-list" option can be used to find the names of the schemes in the project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment