简体   繁体   中英

App Crashes , but no device log

I swipe the tableview, and it would crashes, I try to find device console under windows, devices in Xcode, but there's no log. If I use XCode to run the app. It crash without telling me why. But just lost the connection with my phone. 在此处输入图片说明

One cause for those searcing on the question in the title:

This problem can occur if you have a bad iOS cable connected. The cable could work perfectly normal but in some angles when twisted and turned , could fail and lose connection.

Second cause (Your cause):

I swipe the tableview

Something in your tableView is not set up correctly. Probably as mentioned in the comment section below your question, memory issues. Add code to your question for us to be able to check even further in detail.

It's a memory issue. The system kills the app while it's going to load to many images. I commented the code "decodedImageWithImage" in SDWebImage, And the problem got fixed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM