December 2018
Intermediate to advanced
414 pages
10h 19m
English
As your project grows, you may want to test on more simulators, different targets, or you may simply want more control over the build; you can always not use the default configuration suggestions and configure the different build steps on your own.
The command you will want to run on Travis should most probably use xcodebuild, the command-line tool that can build and test any Xcode project.
This is what the .travis.yml file should look like now:
language: objective-c osx_image: xcode10.1 script: - xcodebuild clean test -project MyNewProject.xcodeproj \ -scheme MyNewProject \ -destination "platform=iOS Simulator,OS=12.0,name=iPhone XS" \ CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO ...
Read now
Unlock full access