ios - 简单的应用程序崩溃

标签 ios crash

我开发了一个简单的应用程序来计算患 2 型糖尿病的风险。该应用程序在我的 iPhone 3G 上通过 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

谁能指出这个错误?

最佳答案

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

关于ios - 简单的应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8780352/

相关文章:

ios - 如何从 touchesBegan 事件中获取 CGPoint?

ios - 使用相同的全局变量实例化多个 View Controller

java - 从 JVM 崩溃日志中的堆栈跟踪获取行号

复制到 C 中的 Null 位置并传递无效数据时崩溃

ios - NSInvalidArgumentException。 UIPasteboard设置字符串

iphone - Facebook 中的图片分享功能无法使用

objective-c - 大循环时堆栈溢出 : how should I fix this?

android - 可以在 Android 的 RecyclerView 中定义部分吗?

python - 运行 python 文件时 Anaconda 崩溃 - Mac OS

android - Android应用程序随机崩溃