Schemes that are not marked shared in Xcode cannot be built outside Xcode, and this affects a CI server like Nevercode as well.
Let’s walk through the process of sharing a scheme:
Navigate to Product-> Scheme -> Manage Schemes
You will then be shown a list of schemes, with each denoted as being shared or not.
Make sure that the shared checkbox for your scheme is marked, then click OK.
Finally, once you have marked the scheme as shared, you will have to add the files that Xcode has generated to your git repository as well.
- Navigate to Source Control > Commit.
- Select the Shared Data folder.
- Enter your commit message in the text field.
- Select the Push to remote option.
- Click the Commit Files button.
To let Nevercode detect the changes in the Build section in app settings, rescan your project by clicking the icon next to the Main Branch field. You will then be able to select the shared scheme from the Scheme drop-down menu.
Updated about a year ago