Application Crash
guseducampos opened this issue · 5 comments
guseducampos commented
Hi guys. Crashlytics is reporting to us this crash with some users. We think is related with some internal process that SDK is doing.
SDK Version
3.2
Stack Trace
Fatal Exception: NSInvalidArgumentException
Must supply a fetch request during initialization
0 CoreFoundation 0x1f8ae0ec4 __exceptionPreprocess
1 libobjc.A.dylib 0x1f7cb1a40 objc_exception_throw
2 CoreData 0x1fb69925c -[NSCachingFetchRequest init]
3 Beaconstac 0x1015d25ec (Missing)
4 Beaconstac 0x1015f1c88 (Missing)
5 Beaconstac 0x1015c1b08 (Missing)
6 Beaconstac 0x1015c2b94 (Missing)
7 Beaconstac 0x1015c1c74 (Missing)
8 LifeMilesProduction 0x100890dc0 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke.82
9 CFNetwork 0x1f90bda00 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke
10 CFNetwork 0x1f90d21a0 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke
11 Foundation 0x1f95708bc __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
12 Foundation 0x1f9478ab8 -[NSBlockOperation main]
13 Foundation 0x1f9477f8c -[__NSOperationInternal _start:]
14 Foundation 0x1f9572790 __NSOQSchedule_f
15 libdispatch.dylib 0x1f85196c8 _dispatch_call_block_and_release
16 libdispatch.dylib 0x1f851a484 _dispatch_client_callout
17 libdispatch.dylib 0x1f84bd82c _dispatch_continuation_pop$VARIANT$mp
18 libdispatch.dylib 0x1f84bcef4 _dispatch_async_redirect_invoke
19 libdispatch.dylib 0x1f84c9a18 _dispatch_root_queue_drain
20 libdispatch.dylib 0x1f84ca2c0 _dispatch_worker_thread2
21 libsystem_pthread.dylib 0x1f86fd17c _pthread_wqthread
22 libsystem_pthread.dylib 0x1f86ffcec start_wqthread
Thanks for the help!
sachinmobstac commented
@guseducampos I have seen this issue and have fixed it in the latest release. Can you tell me which pod version of the SDK are you using?
guseducampos commented
Hi @sachinmobstac I'm using 3.2 version.
sachinmobstac commented
@guseducampos This has been fixed in 3.2.2. Please update to the latest version.
sverner23 commented
What was the fix for this issue? I'm getting the same crash in my own code
ravipratapm commented
@sverner23 Please upgrade to version 3.2.2 or above for the fix. Thanks.