iOS5的故事板的错误:故事板是在iOS 4.3及之前不可用 [英] iOS5 Storyboard error: Storyboards are unavailable on iOS 4.3 and prior

查看:115
本文介绍了iOS5的故事板的错误:故事板是在iOS 4.3及之前不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经建立了用故事板的小应用程序,它跑了巨大的。就在最终测试之前,我决定尝试一下,看看它是否运行在iOS 4.3。我点击了在项目设置灰色的5.0和4.3选中

该应用程序未能建立与以下错误消息:


  

故事板是在iOS 4.3和不可用事先


无论是iPhone和iPad的故事板告诉我。

,当我切换回iOS5的目标,我仍然保持从两个故事板获得这些错误,并且该产品将不建的问题!
我查了一下:在项目设置iOS的部署目标为5.0
目标应用程序部署目标为5.0
构建设置使用的iOS 5.0 SDK

还有什么我需要做我的项目恢复到可建状态呢?这是一个全新的错误还是我忘了什么东西?

更新:我一直在做,甚至一个干净后收到此错误。
我改变了调试器方案为LLDB,并做了一个额外的清洁,该项目现在生成和编译


解决方案

我也有这个问题,我终于解决了这个通过以下步骤:


  1. 打开XXXXXX.storyboard

  2. 开启身份和类型片在X $ C $的C你的右视图。

  3. 设置发展的价值文档版本控制,以X code 4.2(我的默认值是默认版本(X code 4.1)。

  4. 从项目SDK版本(iOS版5.0)部署的值更改到iOS 5.0,然后再回到项目SDK版本(iOS版5.0)

重建项目和错误应该被解决。

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 project settings and selected 4.3.

The app failed to build with the following error message:

Storyboards are unavailable on iOS 4.3 and prior

Both the iPhone and iPad storyboards tell me that.

The issue that when I switched back to iOS5 target, I still keep getting these errors from both storyboards, and the product won't build! I checked: iOS Deployment target in projects settings is 5.0 Target app deployment target is 5.0 Build settings uses iOS 5.0 SDK

What else do I need to do to restore my project to a buildable state? Is this a brand new bug or am I forgetting something?

Update: I kept getting this error even after doing a clean. I changed the debugger in Schemes to "LLDB" and did an additional clean, the project now builds and compiles

解决方案

I also got this problem and finally I solved this by following procedure:

  1. Open XXXXXX.storyboard
  2. Open Identity and Type tab in your right view of Xcode.
  3. Set the value of Development in Document Versioning to "Xcode 4.2" (my default value is "Default Version (Xcode 4.1)".
  4. Change the value of Deployment from Project SDK Version (iOS 5.0) to iOS 5.0, then back to Project SDK Version (iOS 5.0)

Rebuild the project and the error should be resolved.

这篇关于iOS5的故事板的错误:故事板是在iOS 4.3及之前不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆