Search code examples
swiftxcodemultithreadingswift5sigabrt

How to solve a Thread 1: signal SIGABRT error?


I'm having an issue with my app, it keeps coming up with a Thread 1: signal SIGABRT error every time I build it. I've looked for a solution but nothing seems to work, any ideas? I'm new to this!

Error In consolse


Solution

  • Looks like you don't have a prototype cell in your collection view. This article might help you work through the issue.

    https://theswiftdev.com/2018/04/17/ultimate-uicollectionview-guide-with-ios-examples-written-in-swift/

    Without looking at the code I'm guessing you should be able to go into the storyboard select the cell and add in the cell name using the inspector on the right.