[英]Getting error when opening Interface Builder (Mac OS X Lion)
I'm using a 13" Macbook Pro. I'm beginning a project for University; I'm making an iPhone application. I bought the DevKit but had some problems opening Xcode, I realiased I'd upgraded to Lion since I downloaded it and needed to upgrade, so I did, so Xcode 4.3. 我使用的是13英寸Macbook Pro。我正在为大学项目;正在制作iPhone应用程序。我购买了DevKit,但是在打开Xcode时遇到了一些问题,我实现了自从下载以来就升级到Lion的梦想。并且需要升级,所以我做了,所以Xcode 4.3。
Now I can use Xcode fine (as far as I can tell) but Interface Builder gives me this error when I try to make a new iPhone Application Template/Project: 现在,我可以很好地使用Xcode(据我所知),但是当我尝试制作新的iPhone应用程序模板/项目时,Interface Builder会给我这个错误:
This version of Interface Builder does not support documents of type "Interface Builder Cocoa Touch Document (XIB 3.x)" targeting "iPhone/iPod touch". 此版本的Interface Builder不支持以“ iPhone / iPod touch”为目标的“ Interface Builder可可触摸文档(XIB 3.x)”类型的文档。
And this one if I try to make a blank one, of any other the other options: 如果我尝试将所有其他选项都设为空白,则可以使用此选项:
Interface Builder was unable to open the document "Empty.xib". Interface Builder无法打开文档“ Empty.xib”。 iPhone/iPod touch development requires the iOS 3.1 SDK.
iPhone / iPod touch开发需要iOS 3.1 SDK。
Now, I checked, and according the the AppStore (which is where I was forced to download it from) iOS 5.0/5.1 SDK is included. 现在,我检查了一下,并根据AppStore(这是我被迫从中下载它的位置)提供了iOS 5.0 / 5.1 SDK。 I tried to redownload a few times but to no avail.
我尝试重新下载几次,但无济于事。 I have a feeling this is something really stupid, so feel free to call me so.
我觉得这真是愚蠢,请随时打电话给我。
You should be using Xcode itself to create, view, and modify xib files for iOS 5 projects. 您应该使用Xcode本身来创建,查看和修改iOS 5项目的xib文件。 Interface Builder as a separate application is no longer provided by Apple for iOS development.
Apple不再为iOS开发提供Interface Builder作为单独的应用程序。
Xcode 4 allows creation of user interface files from the File > New > New File
menu item. Xcode 4允许从“
File > New > New File
菜单项创建用户界面文件。 When you select a user interface file from Xcode's project navigator (which you can show via View > Navigators > Show Project Navigator
or by pressing Cmd-1), a user interface editor appears where the source code editor typically appears. 当您从Xcode的项目导航器中选择一个用户界面文件(可以通过“
View > Navigators > Show Project Navigator
或通过按Cmd-1来显示)时,将出现一个用户界面编辑器,通常在其中显示源代码编辑器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.