What do I do if Xcode keeps crashing when trying to preview my app and/or trying to build my app?
Xcode crashes when trying to preview my app.
Find out what is causing the crash, and fix it! If you post your code here, people may be able to help. Otherwise, we're just guessing.