iOS app crashes, xcode says 'Lost connection to X's iPhone' when debugging

后端 未结 8 2058
有刺的猬
有刺的猬 2020-12-05 12:36

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

相关标签:
8条回答
  • 2020-12-05 13:18

    As Andy Darwin suggested, it is a memory issue.

    I had this problem on older devices when adding an UIImageView with animationImages.

    0 讨论(0)
  • 2020-12-05 13:21

    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!

    0 讨论(0)
提交回复
热议问题