简体   繁体   English

应用程序崩溃,但没有设备日志

[英]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.我滑动tableview,它会崩溃,我尝试在windows下找到设备控制台,在Xcode中找到设备,但没有日志。 If I use XCode to run the app.如果我使用 XCode 运行该应用程序。 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.如果您连接的 iOS 电缆不良,则可能会出现此问题。 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我滑动tableview

Something in your tableView is not set up correctly.您的 tableView 中的某些内容未正确设置。 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.我在 SDWebImage 中评论了代码“decodedImageWithImage”,问题得到解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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