首先,我不知道导致问题的原因,我只能在设备硬件重启后重现它。之后该应用程序很好。
这是来自控制台的日志,您可以在其中查看来电的详细信息和时间。我只是注意到它被一些奇怪的(对我来说)低级别的电话冻结了。
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: didFinishLaunchingWithOptions: start
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: didFinishLaunchingWithOptions: DATA > migration
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: --- MR_coordinatorWithAutoMigratingSqliteStoreNamed
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: --- MR_setDefaultStoreCoordinator
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: --- MR_contextWithStoreCoordinator
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: +[NSManagedObjectContext(MagicalRecord) MR_contextWithStoreCoordinator:](0x3ed04728) Creating MOContext *** On Main Thread ***
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: +[NSManagedObjectContext(MagicalRecord) MR_contextWithStoreCoordinator:](0x3ed04728) Creating context in Context Private Queue Mode
Apr 11 17:39:21 unknown MY_APP[130] <Warning>: --- MR_setDefaultContext
Apr 11 17:39:21 unknown librariand[132] <Notice>: changing log level to 5
Apr 11 17:39:22 unknown com.apple.launchd[1] <Warning>: (com.apple.ubd) Exited with code: 10
Apr 11 17:39:22 unknown com.apple.launchd[1] <Warning>: (com.apple.ubd) Throttling respawn: Will start in 10 seconds
>
Apr 11 17:39:33 unknown librariand[132] <Error>: client process 130 does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
Apr 11 17:39:33 unknown librariand[132] <Error>: error in handle_container_path_request: LibrarianErrorDomain/9/The client process does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
Apr 11 17:39:33 unknown librariand[132] <Error>: client process 130 does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
Apr 11 17:39:33 unknown librariand[132] <Error>: error in handle_container_path_request: LibrarianErrorDomain/9/The client process does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
Apr 11 17:39:33 unknown MY_APP[130] <Warning>: --- setupCoreDataStackWithAutoMigratingSqliteStoreNamed END
Apr 11 17:39:33 unknown MY_APP[130] <Warning>: didFinishLaunchingWithOptions: DATA > prefilling
Apr 11 17:39:33 unknown MY_APP[130] <Warning>: didFinishLaunchingWithOptions: UI
Apr 11 17:39:33 unknown librariand[132] <Warning>: items added, refreshing item updates for file://localhost/private/var/mobile/Library/Mobile%20Documents/
Apr 11 17:39:33 unknown MY_APP[130] <Warning>: didFinishLaunchingWithOptions: end
我真的不知道用户是否面临这个问题。但如果这样做可能会在许多人开始时崩溃。
我知道这个问题难以分析,但如果您至少有任何相关的想法或想法,请分享。另外,请询问任何细节。
提前感谢。
答案 0 :(得分:0)
所以,看起来iCloud正试图在那里进行初始化。我听说这是一个问题,但Apple建议在NSFileManager上调用URLForUbiquityContainerIdentifier :.这就是该方法的内容,但似乎方法在某些方面也令人窒息......不确定除 NSManagedObjectContext 类别方法 MR_observeiCloudChangesInCoordinator <之外还要做什么/ strong>,注释掉那些称为 isICloudEnabled 的行......这很可能是你现在的解决方案:(