问题描述
我有Xcode的问题,我似乎无法解决。我有一个视图控制器让我们调用foobarViewController,有一个foobarViewController.xib来陪伴它。在这个控制器中,我瞥了一眼以使它看起来像我想要的方式,但决定务实地做到这一点。所以我从项目中删除了xib,清理了所有目标,重新启动了xcode,重新启动了COMPUTER,甚至删除了旧的build文件夹,当我编译视图包含仅包含在XIB文件中的对象时仍然是STILL。
I have a problem with Xcode that I can't seem to resolve. I have a view controller lets call "foobarViewController", there was a "foobarViewController.xib" to accompany it. In this controller I splish-splashed with the view to make it look the way I wanted, but decided to do it pragmatically. And so I deleted the xib from the project, cleaned all targets, restarted xcode, restarted COMPUTER, deleted the old build folder even and STILL when I compile the view includes objects that were only in the XIB file.
这里发生了什么?
推荐答案
试试这3件事:
- 从模拟器中删除应用程序
来自Xcode:
- 构建菜单 - >清除所有目标 - >选中两个方框 - >清理
- XCode菜单 - >空缓存... - >清空
这篇关于Xcode包含已删除的.xib文件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!