所以,我现在正在尝试从大约3个月开始学习快速和编写代码。 似乎突然间Xcode不会在助理编辑器的故事板中显示所选UIViewController的代码。 这经常发生。 我清理项目 - 没有帮助。 我重置模拟器的内容和设置 - 没有帮助。 我在电脑上创建新用户,并在那里加载我的项目,它的效果很好......一段时间。 然后我们回到原点。 要么我正在做一些非常奇怪的事情并搞砸了事情,要么Xcode正在做一些非常奇怪的事情并让我搞砸了。
有什么快速解决方法吗?
So, I am trying to learn swift and writing code since about 3 months now. It seems that all of a sudden Xcode won't show the code for the selected UIViewController in the storyboard in the assistant editor. This happens very often. I clean the project - no help. I reset content and settings of the simulator - no help. I create new user on the computer and load up my project there and it works great... For a while. Then we are back to square one. Either I am doing something really weird and messing things up, or the Xcode is doing something really weird and messing me up.
Any quick fixes for this?
最满意答案
您可以尝试删除项目的派生数据。
关闭该项目。 注意:不要退出XCode。 窗口 - >管理器(或窗口 - >项目,取决于您的Xcode版本) 找到项目。 使用“删除...”按钮删除派生数据。You can try deleting the project's Derive Data.
Close the project. Note: do not quit the XCode. Window->Organizer (or, Window->Projects, depending on your version of Xcode) Find the project. Delete the Derived data using the "Delete..." button.更多推荐
发布评论