XCode模拟器未显示最新更改 [英] XCode simulator is not displaying latest changes
问题描述
我正在XCode 4.5中创建一个应用程序。我的问题是我在模拟器中运行应用程序,但它没有显示最近的更改。从 iOS模拟器
选项重置内容和设置
时,它会显示最新输出。但是,如果我关闭模拟器并再次运行应用程序,它会再次显示旧输出。
任何人都可以有想法,背后是什么以及如何解决这个问题?
谢谢。
I am creating an app in XCode 4.5. My problem is that I am running app in simulator but it is not showing recent changes. On resetting Content and Settings
from iOS simulator
option it shows latest output. But, if I close simulator and ran app again, it again shows old output.
Can anyone have idea, what is behind that and how to fix this?
Thanks.
推荐答案
发生这种情况时我会怎么做:
What I do when this happens:
1)从模拟器中删除应用程序
1) delete the app from the simulator
2)运行Project> Clean
2) run Project>Clean
3)运行项目>清洁构建文件夹(CMD + Shift + Option + k)
3) run Project>Clean Build Folder (CMD + Shift + Option + k)
4)手动删除应用程序的Derived Data文件夹(您可以在Organizer> Projects下找到它)
4) manually delete the Derived Data folder for the app (you'll find this under Organizer>Projects)
您可能不需要每次都执行所有这些步骤。
You may not need all of these steps every time.
这篇关于XCode模拟器未显示最新更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!