Fixing “Thread 1: signal SIGABRT” error in iOS

Fixing “Thread 1: signal SIGABRT” error in iOS

SIGABRT (Signal abort) indicates that the app crash due to failure to access something which is nil or doesn?t exist, usually in my experience it?s Outlets.

  1. In the storyboard, check all your Outlets in each view controller.

Image for post

2. Make sure you remove the connections with yellow warnings. These are invalid outlets.

Image for post

3. Check your storyboard ID in the Identity Inspector if the names are correct.

4. Check for any breakpoint in the left side of the code.

Image for post

Hope this helps someone!

See my answer in Stackoverflow.

20

No Responses

Write a response