Travis-CI with: ERROR: cannot find schema

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.

+4
2

:

Manage Schemes...

enter image description here

Shared

enter image description here

Close, .

. .

Travis-CI.

+10

Gabriel.Massana, , (SVN/ GIT).

0

Source: https://habr.com/ru/post/1627270/


All Articles