Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42901

    Hi,

     

    I am experiencing a bug in iOS SDK where it frequently crashes if internet access is not available.

    SDK version: 1.93

     

    Please find console log from XCode below:

     

    2016-08-13 18:19:01.934 TestApp[52646:2037723] -[Scio init]
    2016-08-13 18:19:02.017 TestApp[52646:2037723] centralManagerDidUpdateState
    2016-08-13 18:19:29.291 TestApp[52646:2038241] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘data parameter is nil’
    *** First throw call stack:
    (
    0 CoreFoundation 0x0000000113211d85 __exceptionPreprocess + 165
    1 libobjc.A.dylib 0x00000001121dddeb objc_exception_throw + 48
    2 CoreFoundation 0x0000000113211cbd +[NSException raise:format:] + 205
    3 Foundation 0x00000001103394d1 +[NSJSONSerialization JSONObjectWithData:options:error:] + 67
    4 ScioSDK 0x000000011217c8a8 -[CPScioCloud tryJSON:withError:] + 82
    5 ScioSDK 0x000000011217d5d4 __36-[CPScioCloud getModels:completion:]_block_invoke + 944
    6 CFNetwork 0x0000000114242b49 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19
    7 CFNetwork 0x00000001142550f2 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 302
    8 Foundation 0x00000001102bb630 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
    9 Foundation 0x00000001101f6805 -[NSBlockOperation main] + 101
    10 Foundation 0x00000001101d9725 -[__NSOperationInternal _start:] + 646
    11 Foundation 0x00000001101d9336 __NSOQSchedule_f + 194
    12 libdispatch.dylib 0x0000000113de03eb _dispatch_client_callout + 8
    13 libdispatch.dylib 0x0000000113dc682c _dispatch_queue_drain + 2215
    14 libdispatch.dylib 0x0000000113dc5d4d _dispatch_queue_invoke + 601
    15 libdispatch.dylib 0x0000000113dc8996 _dispatch_root_queue_drain + 1420
    16 libdispatch.dylib 0x0000000113dc8405 _dispatch_worker_thread3 + 111
    17 libsystem_pthread.dylib 0x000000011411d4de _pthread_wqthread + 1129
    18 libsystem_pthread.dylib 0x000000011411b341 start_wqthread + 13
    )
    libc++abi.dylib: terminating with uncaught exception of type NSException

    #42906
    Ayelet
    Keymaster

    Hi Jason,

     

    Thanks for reporting the issue. It was transferred to our software team and we will keep you updated.

     

    Ayelet

    #42907
    Ayelet
    Keymaster

    Hi Jason,

     

    SDK Version 1.95 with this bug fix was uploaded to the developers site, here.

    Please install the updated version.

     

    Let us know if you still encounter problems.

     

    Ayelet

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.