Sunday, November 12, 2017

Crash running on device when Run (SIGABRT)

Leave a Comment

I have an app I am running on a device.

When I Build and Run, the Build is successful, but when it Runs I get a crash.

enter image description here

I'm not sure what information it is telling me exactly. I can't figure out where to even start to debug this?

2 Answers

Answers 1

Try adding a exception breakpoint. See more details here how to add an exception breakpoint

Answers 2

1.Check All Your IBOutlets If they are connected properly. (In your viewcontroller)

2.Clean Your Derived Data (Clean & Run )
3.Check If you are Unwrapping Forcefully using (!) and its returning nil . Make Things optional By using (?)
4.If above Steps Wont Work Add exception breakpoint And Post the line at which it crash

.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment