Xcode 5 storyboard compile failure

后端 未结 5 967
清歌不尽
清歌不尽 2021-01-01 21:19

I\'m running Xcode 5 and building for iOS 7. When I try to build this project for archiving I get this error. I get it on my local machine and on my jenkins build server. I

相关标签:
5条回答
  • 2021-01-01 21:45

    I found the answer to this. During a merge in git, the project file had not been merged properly and Profiles.storyboard was being included as a resource twice. When it tried to compile the same resource the second time, it would fail.

    0 讨论(0)
  • 2021-01-01 21:52

    Just feel I should add that I had this problem for a while and had no clue how to solve it.

    Turns out one of my Storyboard IDs had a slash in (/) which was causing the error. Removing this slash resolved the error!

    Hope this helps some people!

    0 讨论(0)
  • 2021-01-01 21:52

    Removing "/" in the storyboard Id is fixed my problem.

    0 讨论(0)
  • 2021-01-01 21:59

    @imran-ahmed solved the problem. I worked on this problem for a couple hours and finally found the comment about the '/' in a StoryBoard ID. A year later and the '/' in the StoryBoard ID still kills Xcode compile. That was my problem and simply deleting the '/' solved the problem.

    0 讨论(0)
  • 2021-01-01 22:05

    I just Cleaned the project, then built it again, afterwards the error disappeared.

    0 讨论(0)
提交回复
热议问题