Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CompileStoryboard build command failed

The continuous integration job that we run to generate nightly builds of our iOS app runs an xcodebuild command on our project and it failed today with the following output:

The following build commands failed:

CompileStoryboard < Path to the storyboard >

The startling thing is, the project builds fine in the Xcode and runs without any issues. The storyboard which is at the source of this problem, was given by a team member (as it is a part of a different module) and created on a different version of Xcode. The storyboard was included in the project as an existing file (Right click -> Add)

Is there anything I can try differently to make the CI job build successfully? I have opened the storyboard and it contains a table view with the outlets etc wired properly. Also tried cleaning the project and rebuilding.

like image 602
Vinny Avatar asked Dec 06 '22 23:12

Vinny


1 Answers

Check that it's included in “Copy Resources” but not in “Compile Sources”. Also check that it doesn't appear twice (those git merges…)

like image 83
José Manuel Sánchez Avatar answered Dec 23 '22 13:12

José Manuel Sánchez