简单应用程序崩溃

8
我开发了一个简单的应用程序,用于计算患上2型糖尿病的风险。该应用程序在我的iPhone 3Gs上从xcode运行良好。我将该应用程序存档为.ipa文件,并将该应用程序上传到我的testflightapp.com帐户。我按照标准testflightapp.com过程在iPhone上安装了该应用程序:点击testflightapp.com电子邮件中的安装链接。
当我运行应用程序时,我会看到启动图像几秒钟,然后它就会消失。我的iPhone控制台中的xcode显示了出现问题的信息,但我不知道这是什么意思:
Jan  8 20:00:42 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.reinvdo.diabete[0xa6a]) Conflict with job: UIKitApplication:com.reinvdo.diabete[0x291b] over Mach service: com.reinvdo.diabete
Jan  8 20:00:42 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.reinvdo.diabete[0xa6a]) Conflict with job: UIKitApplication:com.reinvdo.diabete[0x291b] over Mach service: com.reinvdo.diabete.UIKit.migserver
Jan  8 20:00:42 unknown kernel[0] <Debug>: launchd[4255] Builtin profile: container (sandbox)
Jan  8 20:00:42 unknown kernel[0] <Debug>: launchd[4255] Container: /private/var/mobile/Applications/64A83260-5918-4109-A861-A3399D825654 [69] (sandbox)
Jan  8 20:00:42 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.reinvdo.diabete[0x291b]) The following job tried to hijack the service "com.reinvdo.diabete" from this job: UIKitApplication:com.reinvdo.diabete[0xa6a]
Jan  8 20:00:42 unknown UIKitApplication:com.reinvdo.diabete[0xa6a][4255] <Notice>: Couldn't register com.reinvdo.diabete with the bootstrap server. Error: unknown error code.
Jan  8 20:00:42 unknown UIKitApplication:com.reinvdo.diabete[0xa6a][4255] <Notice>: This generally means that another instance of this process was already running or is hung in the debugger.
Jan  8 20:00:43 unknown ReportCrash[4256] <Notice>: Formulating crash report for process diabete[4255]
Jan  8 20:00:43 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.reinvdo.diabete[0xa6a]) Job appears to have crashed: Abort trap: 6
Jan  8 20:00:43 unknown SpringBoard[15] <Warning>: Application 'diabete' exited abnormally with signal 6: Abort trap: 6
Jan  8 20:00:43 unknown ReportCrash[4256] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/diabete_2012-01-08-200042_reins-iPhone.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

有人能解释一下这个错误吗?


1
使用Xcode组织器或iPhone配置实用程序检查保存的崩溃报告。 - Till
控制台日志中没有任何有助于回答的内容 - 您需要发布崩溃日志。 - AlexeyVMP
是的 - 正如其他人所提到的 - 这不是您手机上应用程序的问题。这是调试版本的问题(在开发过程中很容易发生)。您需要从设备获取崩溃日志 - 您可以在此处阅读以获取它:https://dev59.com/EG865IYBdhLWcg3wYNjj - dtuckernet
4
您好,我解决了问题:似乎在我的iPhone上,应用程序之前运行的进程仍在后台运行...我重新启动了手机,现在它已经完美地工作了。非常感谢大家的回答。 Reinier - reinvdo
1个回答

2

在iPhone上,应用程序之前的运行进程仍然处于活动状态。要解决这个问题,只需要重新启动设备即可。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接