My app crashes and I need some advice to find and fix the problem. It is not a device or cable problem because it happens with all devices and not only when debugging. Xcode
As Andy Darwin suggested, it is a memory issue.
I had this problem on older devices when adding an UIImageView
with animationImages
.
Posting for posterity, as I recently experienced this 'crash' and it wasn't due to memory issues as others have suggested:
In rare cases, this can be an issue with the cord used to connect the iPhone to the computer. I had a faulty lightning cable, that would sporadically lose connection to my mac. The solution was to by a new one!