Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS simulator doesn't update

Tags:

ios

xcode4.2

I am working on my first iOS app and whenever I change something in Xcode and then build and run, the changes aren't reflected in the simulator. It isn't just code, I've added images as well.

I have both saved and restarted Xcode, and up to a point the changes were reflected in the simulator. But now, no matter what I do, it just shows the old stuff.

Thanks

like image 886
user1401875 Avatar asked May 17 '12 21:05

user1401875


2 Answers

I would suggest that you try Product>Clean and then Product>Run in Xcode.

However, I feel like that is not the real issue, you are probably doing something wrong with the code. Please update your answer with some code samples to show what it is you are changing and how you're changing it

like image 67
Kaan Dedeoglu Avatar answered Oct 03 '22 12:10

Kaan Dedeoglu


I once had a similar issue, what I did is I completely reseted the iOS Simulator. In the menu bar at the top, just go in iOS Simulator > Reset Content and Settings...

This will force a clean build and remove all possible conflicts with the iOS Simulator. If you still have the issue, make sure your code is correct.

like image 24
allaire Avatar answered Oct 03 '22 12:10

allaire