Xcode显示旧的,已删除的xib文件 [英] Xcode shows old, deleted xib files

查看:86
本文介绍了Xcode显示旧的,已删除的xib文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜遍了所有并且没有找到任何帮助...

I've searched all over and haven't found any help...

我用两个 UIViewControllers构建了一个小型测试应用程序及其相应的 xibs。一切都很好,然后我对 xibs 进行了一些更改,但是当我建立和运行时,我得到了旧观点。我已经尝试删除构建文件夹,在模拟器和设备中运行,清理所有目标,仍然是我完全改变的旧的,分解的 xibs 仍在显示向上。我已经重新启动了所有Xcode应用程序,甚至我的计算机。

I built a small test app with two UIViewControllers and their corresponding xibs. Things were fine, then I made some changes to both xibs but when I build and run, I get the old views. I've tried deleting the build folders, running in the simulator and device, cleaning all targets and still the same, old, broke-down xibs that I totally changed are still showing up. I've restarted all the Xcode apps and even my computer.

变得非常恼火!

编辑:我从未弄清楚问题是什么。基本上,一旦我建立了一个项目,它就会记住我制作的第一个xib,并且不会识别它们的变化。如果我告诉视图控制器从一个不同的,有效的笔尖名称加载,它会抱怨旧的名称不存在。

I never did figure out what the problem was. Basically, once I had built a project, it remembered the first xibs I made and wouldn't recognize changes to them. If I told a view controller to load from a different, valid nib name, it'd complain that the old one wasn't there.

我重新安装了Xcode,现在它一切都有效。 Sheesh。

I reinstalled Xcode and now it all works again. Sheesh.

推荐答案

我最终从头开始重新创建xibs并且工作正常。非常令人沮丧。

I ended up recreating the xibs from scratch and that worked. Very frustrating.

这篇关于Xcode显示旧的,已删除的xib文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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