iOS Dev from the Command Line
Wiki Index
- AWS
- Concurrency
- Databases
- Distributed Systems
- Git
- Hardware
- Languages
- Low Level
- Math
- ML
- Networking
- Operating Systems
- General
- iOS
- Bitcode
- Cocoapods
- Custom Homescreen Icon
- iOS Background Modes
- iOS Dev from the Command Line
- SDK Versions
- Testing on a 32-bit Simulator
- Linux
- macOS
- Windows
- Performance
- Projects / Hands-On
- Puzzles
- Resources
- Software Engineering
- Tools
- Web
- Writing / Documentation
- In general, use
xcodebuild
for things you’d use XCode for, using an invocation like:$ xcodebuild -workspace path/to/workspace \ -scheme '<SCHEME>' \ -configuration '<Debug|Release>' \ -sdk iphonesimulator \ install
- Use
-project
/-target
instead of-workspace
/-scheme
. - The
iphonesimulator
SDK uses the newest simulator available. Alternately useiphoneos
to use a physical device or run this to list all SDKs:$ xcodebuild -showsdks
- The final argument to
xcodebuild
is the action to be taken, which needs to be one of:build
build
analyze
archive
test
test
installsrc
install
clean