在iPhone 4S断电后应用程序崩溃 [英] App crashes after power down on iPhone 4S

查看:137
本文介绍了在iPhone 4S断电后应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iPhone 4S上运行iOS7,我的应用程序运行正常,直到我关闭iPhone并重新启动它。当我启动我的应用程序时,它只是闪烁黑屏,然后将用户带回iPhone应用程序图标视图。此外,我的应用程序使用RestKit .20.3和ZBar进行条形码扫描,并使用Mountain Lion上的Xcode 5构建。然后我将我的iPhone连接回Xcode,然后重新运行应用程序,一切都很好。有没有其他人遇到过这个问题。以下是我的崩溃日志中的片段;

I am running iOS7 on an iPhone 4S and my app runs fine until I power down my iPhone and power it back on. When I launch my app it simply just flashes a black screen and then takes the user back to the iPhone app icon view. Also, my app uses RestKit .20.3 and ZBar for bar code scanning and is built using Xcode 5 on Mountain Lion. Then I connect my iPhone back to Xcode and then rerun the app and everything is fine again. Has anyone else experienced this issue. Below is a snippet from my crash log;

Date/Time:           2013-10-03 22:23:41.334 -0400
OS Version:          iOS 7.0.2 (11A501)
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread:  0

Dyld Error Message:
  Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
  Referenced from: /var/mobile/Applications/DC06399E-15F3-46B1-B194-24CC93B763E2/    Genie.app/Genie
  Reason: image not found
  Dyld Version: 324

Binary Images:
0x2be76000 - 0x2be96fff dyld armv7  <b37cba000c7d3f8ea414f060d45ce144> /usr/lib/dyld
0x30e47000 - 0x30f4cfff CFNetwork armv7  <0ad158ad8b7a3716ad04ffde6081754c>      /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x30fbf000 - 0x311affff CoreData armv7  <9338ccb7c0f2377196e181eb10b15ef5> /System/Library/Frameworks/CoreData.framework/CoreData
0x312f3000 - 0x31416fff CoreGraphics armv7  <17a70d032a013c06b9a4d244b100e2b3> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x31b99000 - 0x31d83fff Foundation armv7  <75c827267c5a3c85a3b21a9459d3c312> /System/Library/Frameworks/Foundation.framework/Foundation
0x329f5000 - 0x32a58fff MobileCoreServices armv7  <5d5b5ca6dd7a305688d5a4d47363d534> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x3380f000 - 0x3384ffff Security armv7  <492fcd48d4de3f29b01799ace718d3d7> /System/Library/Frameworks/Security.framework/Security


推荐答案

能够通过在我的Target,Build Phases中的链接库下使SenTestingKit成为可选来解决我的问题。另外,使用了这篇帖子中的一些提示stackoverflow.com/questions/7895296 / ...但是,由于你的原始评论,我能够把它拼凑在一起。再次感谢您的有用评论。

Was able to solve my issue by making SenTestingKit "optional" under the linked libraries in my Target, Build Phases. Also, used some of the tips in this posting stackoverflow.com/questions/7895296/… but, due to your original comment I was able to piece this together. Thanks again for your useful comments.

这篇关于在iPhone 4S断电后应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆