Skip to content

Instantly share code, notes, and snippets.

@matteocollina
Created April 26, 2018 12:05
Show Gist options
  • Save matteocollina/8d0fe3a569695b2924654975046da2fe to your computer and use it in GitHub Desktop.
Save matteocollina/8d0fe3a569695b2924654975046da2fe to your computer and use it in GitHub Desktop.
Make .app file for simulator
# Replace "MyApp" with your app name
XCODE_WORKSPACE=/Users/MacBook/iOS/MyApp.xcworkspace
xcrun xcodebuild \
-scheme MyApp \
-workspace $XCODE_WORKSPACE \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' \
-derivedDataPath \
build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment