최신 Simperium 라이브러리로 내 응용 프로그램을 충돌하는 예외가 발생했습니다. 내가 할 수있는 한 모든 것을 설정했지만, 코어 데이터 변경을 시도하고 동기화하려고 할 때마다 예외가 발생합니다. 여기 Simperium에서 처리되지 않은 예외가 발생했습니다.
가 throw되는 예외입니다 :2013-07-31 15:02:00:234 Twitter Translator[28336:303] Simperium enqueuing 168 object requests (Tweet)
2013-07-31 15:07:36.446 Twitter Translator[28336:303] -[AppDelegate handleManagedObjectContextChange:]: unrecognized selector sent to instance 0x102609120
2013-07-31 15:07:36.446 Twitter Translator[28336:303] An uncaught exception was raised
2013-07-31 15:07:36.446 Twitter Translator[28336:303] -[AppDelegate handleManagedObjectContextChange:]: unrecognized selector sent to instance 0x102609120
2013-07-31 15:07:36.449 Twitter Translator[28336:303] (
0 CoreFoundation 0x00007fff95799b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897bb3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff9583040a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff9578802e ___forwarding___ + 414
4 CoreFoundation 0x00007fff95787e18 _CF_forwarding_prep_0 + 232
5 CoreFoundation 0x00007fff9574beda _CFXNotificationPost + 2554
6 Foundation 0x00007fff8c7a27b6 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
7 CoreData 0x00007fff93b1b46f -[NSManagedObjectContext _mergeChangesFromDidSaveDictionary:usingObjectIDs:] + 3263
8 Simperium-OSX 0x00000001001b5251 __34-[SPCoreDataStorage mergeChanges:]_block_invoke + 49
9 libdispatch.dylib 0x00007fff94d11a2d _dispatch_barrier_sync_f_slow_invoke + 77
10 libdispatch.dylib 0x00007fff94d0c0b6 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff94d110c8 _dispatch_main_queue_callback_4CF + 275
12 CoreFoundation 0x00007fff9573bb4c __CFRunLoopRun + 1644
13 CoreFoundation 0x00007fff9573b0e2 CFRunLoopRunSpecific + 290
14 HIToolbox 0x00007fff95247eb4 RunCurrentEventLoopInMode + 209
15 HIToolbox 0x00007fff95247b94 ReceiveNextEventCommon + 166
16 HIToolbox 0x00007fff95247ae3 BlockUntilNextEventMatchingListInMode + 62
17 AppKit 0x00007fff8cc0e533 _DPSNextEvent + 685
18 AppKit 0x00007fff8cc0ddf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
19 AppKit 0x00007fff8cc051a3 -[NSApplication run] + 517
20 AppKit 0x00007fff8cba9bd6 NSApplicationMain + 869
21 Twitter Translator 0x0000000100005932 main + 34
22 libdyld.dylib 0x00007fff8a7a37e1 start + 0
23 ??? 0x0000000000000003 0x0 + 3
)
2013-07-31 15:07:36.449 Twitter Translator[28336:303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppDelegate handleManagedObjectContextChange:]: unrecognized selector sent to instance 0x102609120'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff95799b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff897bb3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff9583040a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff9578802e ___forwarding___ + 414
4 CoreFoundation 0x00007fff95787e18 _CF_forwarding_prep_0 + 232
5 CoreFoundation 0x00007fff9574beda _CFXNotificationPost + 2554
6 Foundation 0x00007fff8c7a27b6 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
7 CoreData 0x00007fff93b1b46f -[NSManagedObjectContext _mergeChangesFromDidSaveDictionary:usingObjectIDs:] + 3263
8 Simperium-OSX 0x00000001001b5251 __34-[SPCoreDataStorage mergeChanges:]_block_invoke + 49
9 libdispatch.dylib 0x00007fff94d11a2d _dispatch_barrier_sync_f_slow_invoke + 77
10 libdispatch.dylib 0x00007fff94d0c0b6 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff94d110c8 _dispatch_main_queue_callback_4CF + 275
12 CoreFoundation 0x00007fff9573bb4c __CFRunLoopRun + 1644
13 CoreFoundation 0x00007fff9573b0e2 CFRunLoopRunSpecific + 290
14 HIToolbox 0x00007fff95247eb4 RunCurrentEventLoopInMode + 209
15 HIToolbox 0x00007fff95247b94 ReceiveNextEventCommon + 166
16 HIToolbox 0x00007fff95247ae3 BlockUntilNextEventMatchingListInMode + 62
17 AppKit 0x00007fff8cc0e533 _DPSNextEvent + 685
18 AppKit 0x00007fff8cc0ddf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
19 AppKit 0x00007fff8cc051a3 -[NSApplication run] + 517
20 AppKit 0x00007fff8cba9bd6 NSApplicationMain + 869
21 Twitter Translator 0x0000000100005932 main + 34
22 libdyld.dylib 0x00007fff8a7a37e1 start + 0
23 ??? 0x0000000000000003 0x0 + 3
)
libc++abi.dylib: terminate called throwing an exception
내가 오류가 일어나고있는 줄 생각이 하나입니다
dispatch_sync(dispatch_get_main_queue(), ^{
[__managedObjectContext mergeChangesFromContextDidSaveNotification:notification];
});
하지만 난 확실히 내 버그로 100 % 아니에요 사냥 :(
누구나 어떤 아이디어를 가지고 위대한 아닌가요?
감사
가레스
오, 그건 바보 같았습니다. 이것은 구현 된 기능이며 라이브러리를 제거 할 때 제거되었습니다. 라이브러리의 최신 빌드를 다시 추가했지만이 메소드를 다시 구현하지 않았습니다. –