language: objective-c
xcode_project: SBJson.xcodeproj
env:
  - SCHEME="-sdk iphonesimulator -scheme sbjson-ios"
  - SCHEME="-scheme SBJson"
script: "xctool $SCHEME test"

language: objective-c
xcode_project: SBJson.xcodeproj
env:
  - SCHEME="sbjson-ios"
  - SCHEME="SBJson"
script: "xcodebuild -scheme $SCHEME test"

Use Xcodebuild rather than xctool
Use Xcodebuild rather than xctool

Xctool doesn't support running tests on iphone simulator without
weird hacks, but xcodebuild appears to do.

Thanks to @robb (Robert Böhnke) for showing me this was possible.
