우선 무엇이 문제의 원인인지 전혀 모르며 장치 하드웨어를 다시 시작한 후에 만 재현 할 수 있습니다. 그 후에 응용 프로그램은 괜찮습니다.iOS 앱은 "setupAutoMigratingCoreDataStack"라인에서 시작될 때 10 초 동안 고정됩니다.
- 나는 MagicalRecords lib를 사용합니다.
- "[MagicalRecordHelpers setupAutoMigratingCoreDataStack]"은 "application : didFinishLaunchingWithOptions :"내부에서 호출됩니다.
- 몇 가지 내부 메서드 호출과 후에 10-15 초 동결됩니다.
이것은 콘솔의 로그로 통화의 세부 정보와 시간을 볼 수 있습니다. 나는 그것이 이상한 (나에게) 저급 호출에 의해 얼어 붙는 것을 알아 차렸다.
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
사용자가이 문제에 직면하는지 정말 모르겠다. 그러나 만약 그것들이 많은 사람들에게 시작되면 아마도 부서 질 수도 있습니다.
나는 분석하기가 어렵다는 것을 알고 있지만 적어도 관련 생각이나 아이디어가 있다면 공유하십시오. 또한 세부 사항을 물어보십시오.
미리 감사드립니다.
는 NSLogs 대신 코드를 표시합니다. 구체적으로'setupAutoMigratingCoreDataStack' 기능. – WrightsCS
내가 NSManagedDocument를 사용하여 유사한 로그하지만 메신저를 추가, 당신은 지금 무엇을 발견 했 문제? –