Skip to content

Instantly share code, notes, and snippets.

@KrauseFx
Created June 18, 2015 07:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save KrauseFx/26c99e394c8fb7bbad7f to your computer and use it in GitHub Desktop.
Save KrauseFx/26c99e394c8fb7bbad7f to your computer and use it in GitHub Desktop.
Run UI Tests from the command line
xcodebuild -workspace App.xcworkspace \
-scheme "SchemeName" \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 6,OS=9.0'
test
@phatblat
Copy link

There should be a \ at the end of the -destination line to include it in the xcodebuild command

@eonist
Copy link

eonist commented Mar 27, 2023

What does the -sdk iphonesimulator stand for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment