This is my .travis.ymlfile.
language: objective-c
osx_image: xcode7.2
script:
xctool -project ProjectName.xcodeproj -scheme ProjectName build -sdk iphonesimulator
While Travis is running, I got this error:
$ xctool -project ProjectName.xcodeproj -schematic ProjectName build -sdk iphonesimulator
ERROR: Cannot find schema. Please consider creating generic schemes in Xcode.
TIP. This can happen if you rely on Xcode to auto-create your schemas and your schema files do not exist yet. xctool, such as xcodebuild, cannot automatically create schemas. We recommend that you turn off "AutoCreation Schemes" in your workspace / project, make sure your existing schemes are marked as "Shared", and make sure they are checked in the original control.