IOS simulator does not update

I am working on my first iOS application, and whenever I change something in Xcode and then create and run, the changes are not reflected in the simulator. This is not just code, I added images.

I saved and restarted Xcode, and until the point the changes were reflected in the simulator. But now, no matter what I do, it just shows old things.

thanks

+4
source share
3 answers

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

However, I feel that this is not a real problem, you are probably something wrong with the code. Update your answer with some code samples to show exactly what you are changing and how you are changing it.

+6
source

I once had a similar problem, I did this, I completely reset iOS Simulator. In the menu bar at the top, just go to iOS Simulator> Reset Content and Settings ...

This will lead to a clean build and eliminate all possible conflicts with iOS Simulator. If you still have a problem, make sure your code is correct.

+2
source

also try viewing the simulator for another iPhone / iPad device

+1
source

Source: https://habr.com/ru/post/1413064/


All Articles