选项卡栏控制器不会在 Interface Builder 中打开
我正在开发一个新应用程序,但 Interface Builder 有一个小问题...
我已经安装了 Xcode 3.2.3 和 iPhone SDK 4.0 GM。
当我在 Xcode 中创建新的选项卡栏应用程序项目并在 IB 中打开 MainWindow.xib 文件时,选项卡栏控制器将无法打开...我尝试重新单击它但没有任何结果!
我还卸载并重新安装了所有开发人员工具,但没有任何结果...
最后,如果我尝试在模拟器中构建并运行该项目,标签栏控制器将正常显示!
谁能帮助我吗? :)
I'm developing a new app but I've a little issue with Interface Builder...
I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM.
When I create a new Tab Bar Application project in Xcode, opening the MainWindow.xib file in IB, the Tab Bar Controller won't open... I tried reclicking it but nothing!
I also uninstalled and reinstalled all developer tools but without any results...
Finally if I try to build and run the project in the simulator, the tab bar controller shows normally!
Can anyone help me? :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这听起来与我在我的项目和新 sdk 中所经历的类似。我的一些 IB 文件(例如包含 UIView 的文件)在双击时拒绝打开。
我不必重新安装,或者通常退出 IB 和 xcode 并重新启动没有任何帮助,我不记得是否做了其他任何事情来修复它。这可能是新的 3.2.3 xcode 的问题,因为我不记得在我的 3.2.2 版本中发生过类似的事情。
如果这对您来说是一个大问题,您是否考虑过删除标签栏并重建它?只是一个想法。这样做可能很麻烦,但如果它修复了它并允许您继续编写项目,那么这是值得的。
It sounds like something similar to what I have experienced with my projects and the new sdk. Some of my IB files such as ones that contain UIViews when double clicking on them they refuse to open.
I haven't had to reinstall or nothing usually quitting IB and xcode and restarting helps I can't remember if I have done anything else to fix it. It may be an issue with the new 3.2.3 xcode as I don't recall having anything like this happen in my 3.2.2 build.
If it becomes a large problem for you have you considered removing the tab bar and rebuilding it? Just a thought. It may be troublesome to do so but if it fixes it and allows you to continue coding your project it would be worth it.
您在问题中提到您正在运行带有 iOS4 GM 的 iPhone SDK 3.2.3。您应该更新您的 SDK,因为 SDK 现在正式版本为 4.0。
否则,听起来您的 Xcode 安装在某种程度上已损坏。您可能需要完全重新安装。
You said in your question that you're running iPhone SDK 3.2.3 with iOS4 GM. You should update your SDK, as the SDK is now at version 4.0 officially.
Otherwise, it sounds like your Xcode installation is somehow corrupted in some way. You may need a complete reinstall.