iOS App Crashes, Xcode Says 'Lost Connection to X's Iphone' When Debugging

Xcode: debug unexpected iOS app crashes

(By popular demand:) There are some hints for catching the failure in this thread.

Lost connection to iOS 9 simulator

Yess I got the solution. Thanks @mitulmarsonia for quick commenting on my question.

When loading a bunch of very large images (greater then 2000 or 3000 px) in UIImages, Luckily the images were not supposed to be anywhere near that big and I just needed to resize them.

Please resize of your images before saving them document directory if you want to show them into listings.

Please refer this question for more details.



Related Topics



Leave a reply



Submit