I have a pretty basic question. When run my code in order to simulate it, the build succeeds. Then, for whatever reason the simulation crashes. I have figured out the error in my code, but from now on i cant get the code to run again without crashing. I know it is not an error in my code because even if i delete all code and enter a few basic lines, the program always crashes. Is there something i have to do or reset when the simulation crashes in order for the program to run again successfully?
Build succeed but then simulation crashes.
If you mean it seems like Xcode is ignoring your changes and still using the code that caused the error in the first place, use Xcode's Product menu, then, with the option key pressed, select 'Clean Build Folder'...be sure to delete all versions of that app from the simulator as well. Confirm no errors in the navigator and go again.