I have a working app in Xcode
, however when I try to build and run it the simulator displays an older version of the storyboard I was working on. I had changed some of the design on the storyboard but this does not reflect in the simulator, nothing is updated.
Does anyone have any ideas?
Open your storyboard (make sure it is in the active tab), then uncheck Editor > Automatically Refresh Views. This will stop Xcode from automatically building the storyboard every time you change your code. You can enable it back as needed when you are done with your code, to see the updated visual preview.
Selecting Reload (or pressing ⌘ + r in the iOS simulator) will reload the JavaScript that powers your application.
The simulator does a really lousy job of indicating app performance. In fact it doesn't try. For most things the simulator is much, much faster than an iOS device. It runs your code on an x86 processor, which is much faster than the ARM and has many times more memory.
Delete the App on the simulator.
Clean
List item
Build & Run
Use NSLog(@"")
in your controller to check code execution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With