J'ai besoin d'aide pour déboguer ce rapport de crash, je suppose que le crash est sur le thread 0, ligne 22 main (__hidden # 771_: 18). Cela ne me montre pas ce qui cause le crash. Cela se produit uniquement lors des tests utilisant la production iCloud et fonctionne correctement avec le mode de développement iCloud.Refus de l'application IOS 2. 1 PERFORMANCE: COMPLETS DE L'APP
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
0 CoreFoundation 0x1904891b8 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x18eec055c objc_exception_throw + 56
2 CoreFoundation 0x190489100 +[NSException raise:format:] + 116
3 UIKit 0x196593860 -[UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] + 240
4 Stream It 0x10010bad8 _hidden#209_ (__hidden#771_:368)
5 Stream It 0x10010dfac _hidden#228_ (__hidden#771_:0)
6 libdispatch.dylib 0x18f3121fc _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x18f3121bc _dispatch_client_callout + 16
8 libdispatch.dylib 0x18f316d68 _dispatch_main_queue_callback_4CF + 1000
9 CoreFoundation 0x190436810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
10 CoreFoundation 0x1904343fc __CFRunLoopRun + 1660
11 CoreFoundation 0x1903622b8 CFRunLoopRunSpecific + 444
12 GraphicsServices 0x191e16198 GSEventRunModal + 180
13 UIKit 0x1963a97fc -[UIApplication _run] + 684
14 UIKit 0x1963a4534 UIApplicationMain + 208
15 Stream It 0x10010842c main (__hidden#771_:18)
16 libdyld.dylib 0x18f3455b8 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000018f457014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018f51f450 pthread_kill + 112
2 libsystem_c.dylib 0x000000018f3cb400 abort + 140
3 libc++abi.dylib 0x000000018ee952d4 __cxa_bad_cast + 0
4 libc++abi.dylib 0x000000018eeb2cc0 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x000000018eec0844 _objc_terminate() + 124
6 libc++abi.dylib 0x000000018eeaf66c std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x000000018eeaef84 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) + 0
8 libobjc.A.dylib 0x000000018eec0690 _objc_exception_destructor(void*) + 0
9 CoreFoundation 0x0000000190489100 -[NSException initWithCoder:] + 0
10 UIKit 0x0000000196593860 -[UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] + 240
11 Stream It 0x000000010010bad8 _hidden#209_ (__hidden#771_:0)
12 Stream It 0x000000010010dfac _hidden#228_ (__hidden#771_:0)
13 libdispatch.dylib 0x000000018f3121fc _dispatch_call_block_and_release + 24
14 libdispatch.dylib 0x000000018f3121bc _dispatch_client_callout + 16
15 libdispatch.dylib 0x000000018f316d68 _dispatch_main_queue_callback_4CF + 1000
16 CoreFoundation 0x0000000190436810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
17 CoreFoundation 0x00000001904343fc __CFRunLoopRun + 1660
18 CoreFoundation 0x00000001903622b8 CFRunLoopRunSpecific + 444
19 GraphicsServices 0x0000000191e16198 GSEventRunModal + 180
20 UIKit 0x00000001963a97fc -[UIApplication _run] + 684
21 UIKit 0x00000001963a4534 UIApplicationMain + 208
22 Stream It 0x000000010010842c main (__hidden#771_:18)
23 libdyld.dylib 0x000000018f3455b8 start + 4
Vous le lisez un peu à l'envers. :) L'erreur se produit lorsque quelque chose dans votre code appelle 'scrollToItem'. (C'est l'origine de la NSException.) Les codes d'exception suggèrent que - peut-être - vous passez zéro ou une valeur vide alors que vous ne devriez pas. –