我用Swift语言创建了应用程序并在我的iPad上安装了IPA(分发配置文件),应用程序崩溃了。但我在调试模式下运行它在同一设备上正确运行。你能为这次崩溃提供解决方案吗?以及如何解决此问题?
Xcode版本:6.3.1 iOS版本:8.3
崩溃登录设备:
Apr 26 23:12:46 My-iPad kernel[0] <Notice>: xpcproxy[445] Container: /private/var/mobile/Containers/Data/Application/0E13BE10-CBAC-45FF-AAB9-575F87B32216 (sandbox)
Apr 26 23:12:46 My-iPad kernel[0] <Notice>: AMFI: TestApp(pid 445) - [deny-mmap] mapped file has no team identifier and is not a platform binary: /private/var/mobile/Containers/Bundle/Application/CFDED3C6-7AF6-427B-BBFC-27E9186EF590/TestApp.app/Frameworks/libswiftCore.dylib
Apr 26 23:12:46 My-iPad ReportCrash[411] <Notice>: ReportCrash acting against PID 445
Apr 26 23:12:46 My-iPad ReportCrash[411] <Notice>: Formulating crash report for process TestApp[445]
Apr 26 23:12:46 My-iPad com.apple.xpc.launchd[1] (UIKitApplication:com.mobility.TestApp[0x3c28][445]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Apr 26 23:12:46 My-iPad SpringBoard[49] <Warning>: LICreateIconForImage passed NULL CGImageRef image
Apr 26 23:12:47 My-iPad ReportCrash[411] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/TestApp_2015-04-26-231246_My-iPad.ips
Apr 26 23:12:47 My-iPad locationd[56] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Apr 26 23:12:47 My-iPad SpringBoard[49] <Warning>: Application 'UIKitApplication:com.mobility.TestApp[0x3c28]' crashed.
Apr 26 23:12:47 My-iPad locationd[56] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
答案 0 :(得分:1)
最后我很久才得到了答案。我们应在iOS 8发布后更新我们的证书和配置文件。然后只有快速的应用程序不会崩溃。请参阅以下链接。
https://developer.apple.com/library/ios/qa/qa1886/_index.html