我试图找出这里是否有人在启动时出现神秘崩溃并查看控制台日志,您看到AppleFairplayTextCrypterSession::fairplayOpen() 失败了吗?
iPhone 应用程序将连接到远程服务器以获取 xml 数据,如果服务器关闭,这将使应用程序崩溃。在随后的启动中,它总是会崩溃,直到我重新启动并再次同步到 iTunes。
如果有人能给我一些关于如何防止崩溃或抓住它并优雅退出的线索,我将非常感激。
Sun Dec 6 22:50:31 unknown kernel[0] <Debug>: AppleFairplayTextCrypterSession::fairplayOpen() failed, error -42184
Sun Dec 6 22:50:31 unknown SpringBoard[25] <Warning>: Failed to spawn MyApp. Unable to obtain a task name port right for pid 140: (os/kern) failure
Sun Dec 6 22:50:31 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.--.MyApp[0x554b]) Exited: Killed
Sun Dec 6 22:50:31 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.--.MyApp[0x554b]) Throttling respawn: Will start in 2147483647 seconds
Sun Dec 6 22:50:31 unknown SpringBoard[25] <Warning>: Application 'MyApp' exited abnormally with signal 9: Killed