我开发了一个 iPad 应用程序,它在模拟器中运行良好,但当我尝试在设备上安装它时,它崩溃并显示 Segmentation fault: 11
以下是 Titanium 环境的详细信息:
应用类型:移动
Titanium SDK:1.8.3 (04/18/12 10:48 6c2fca1)
平台及版本:iOS 5.0
设备:iPad实体设备(iOS 5.0.1 (9A405))
主机操作系统:OSX 10.6.8
钛工作室:2.0.1
我仍然无法调试此问题,因为 Titanium 控制台中没有显示任何日志/错误,只是没有安装。
当我尝试通过 XCode 安装它时,这是我在管理器控制台中得到的 Segmentation fault: 11
May 24 03:44:43 unknown kernel[0] <Debug>: lockbot[2021] Builtin profile: gputoolsd (sandbox)
May 24 03:44:44 unknown ReportCrash[2027] <Notice>: Formulating crash report for process installd[2025]
May 24 03:44:44 unknown mobile_installation_proxy[2026] <Error>: handle_install: Installation failed
May 24 03:44:44 unknown com.apple.launchd[1] <Warning>: (com.apple.mobile.installd) Job appears to have crashed: Segmentation fault: 11
May 24 03:44:44 unknown ReportCrash[2027] <Error>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/xxxx using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
XCode 也提示
"There was an internal API error."
更新
这不是证书错误,因为它使用 XCode 成功构建。该错误仅在安装时出现。
最佳答案
我提出了 ios-sim 的错误。如果没有人先做,我会稍后自己修复
关于ios - 安装到 iPad 时发生奇怪的崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10736021/