简体   繁体   English

标签栏控制器将不会在Interface Builder中打开

[英]tab bar controllers won't open in Interface Builder

I'm developing a new app but I've a little issue with Interface Builder... 我正在开发一个新的应用程序,但是Interface Builder有点问题...
I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM. 我已经安装了Xcode 3.2.3和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! 当我在Xcode中创建一个新的Tab Bar Application项目时,在IB中打开MainWindow.xib文件时,Tab Bar Controller无法打开...我尝试重新单击它,但是什么也没有!
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? 谁能帮我? :) :)

It sounds like something similar to what I have experienced with my projects and the new sdk. 这听起来与我在项目和新SDK中所经历的类似。 Some of my IB files such as ones that contain UIViews when double clicking on them they refuse to open. 我的一些IB文件(例如包含UIView的文件)在双击时会拒绝打开。

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. 我不必重新安装,或者通常没有什么可以退出IB和xcode并重新启动的,所以我不记得是否做过任何其他操作来修复它。 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. 新的3.2.3 xcode可能是个问题,因为我不记得在我的3.2.2构建中发生过类似的事情。

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. 这样做可能很麻烦,但是如果它可以修复并允许您继续对项目进行编码,那将是值得的。

You said in your question that you're running iPhone SDK 3.2.3 with iOS4 GM . 您在问题中说,您正在运行带有iOS4 GM的 iPhone SDK 3.2.3。 You should update your SDK, as the SDK is now at version 4.0 officially. 您应该更新您的SDK,因为该SDK现在正式为4.0版。

Otherwise, it sounds like your Xcode installation is somehow corrupted in some way. 否则,听起来您的Xcode安装被某种程度上破坏了。 You may need a complete reinstall. 您可能需要完全重新安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM