iOS5 Storyboard error: Storyboards are unavailable on iOS 4.3 and prior

前端 未结 18 1190
礼貌的吻别
礼貌的吻别 2020-12-02 09:33

I\'ve built a small app using storyboards and it ran great. Just before final testing I decided to try it out to see if it runs on iOS 4.3. I clicked on the gray 5.0 in the

18条回答
  •  情深已故
    2020-12-02 10:13

    I'm just going to add this one as another possible answer here, as the first solutions worked for me several times (as I mentioned in my previous comment) until today when I couldn't get my project to compile for love nor money with the same error. With the debugger changed and Xcode set to 4.2 and restarting several times I could not compile. However I discovered another way to get around this issue.

    Select the storyboard in the left column and 'Show in Finder' and drag the storyboard to the desktop. Xcode will now change its colour to red and be unable to compile.

    Clean the project, drag the storyboard back from the desktop to the directory in finder.

    Then, it builds and the error goes away again.

    I don't know what triggered the error originally as I'm developing under iOS5 and building for 4.3, but it seems to come up from time to time and.

提交回复
热议问题