XCode simulator is not displaying latest changes

独自空忆成欢 提交于 2019-12-06 10:13:14

问题


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.


回答1:


try deleting the app from the simulator (like you would do it on the iPhone), then rerun your app from xcode




回答2:


What I do when this happens:

1) delete the app from the simulator

2) run Project>Clean

3) run Project>Clean Build Folder (CMD + Shift + Option + k)

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.




回答3:


If you are working with Ionic, then Sorry to say But this is a issue, that ionic changes don't show changes.

For Now, you have to remove ios Platform form your Ionic Project and Add again the ios Platform.

Working for me...




回答4:


Just rename your storyboard and select it from Project - General this works for me.

If it doesn't work delete the app in the simulator and try this again this worked for me.




回答5:


Try deleting Build Directory from your project and then clean the project and build it again



来源:https://stackoverflow.com/questions/15971230/xcode-simulator-is-not-displaying-latest-changes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!