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

后端 未结 8 2095
有刺的猬
有刺的猬 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:07

    I had this same issue when loading a bunch of very large images (5000px x 5000px) in UIImages. Luckily the images were not supposed to be anywhere near that big and I just needed to resize them.

提交回复
热议问题