Cf.

  • Not forgetting Facebook’s xctool.sh, which replaces xcodebuild.
  • Bluepill from LinkedIn

Resources

Questions

What devices do we need to test against :

  • iPhone 4S, 5, 5S, 5C, 6, 6+, 6S, 6S+, SE
  • iPad 2, 3, 4, Air, Air 2, Pro, Mini, Mini 2, Mini 3
  • iPod Touch 5G

And what iOS versions

  • 8.0, 9.2

We could do with the usage stats for these products / versions

UI Testing

A handy Cheatsheet and some gotchas.


TODO: In /Users/ci/.jenkins/workspace/iOS-DevelopNightly/src, a xctool -workspace MyAwesomeApp.xcworkspace -scheme Debug test Should work - but fails.

Note to be confued with XCTest UI

xcodebuild \
  -workspace MyAwesomeApp.xcworkspace \
  -scheme MyAwesomeApp \
  -sdk iphonesimulator \
  -destination 'platform=iOS Simulator,name=iPhone 6,OS=8.1' \
  test

Gives:

xcodebuild                                                      \
  -workspace MyAwesomeApp.xcworkspace                           \
  -scheme Nightly                                               \
  -sdk iphonesimulator                                          \
  -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3'    \
  test                                                          \
|                                                               \
xcpretty