Results 1 to 9 of 9

Thread: Getting crash on statement routeAdviceListWithDistanceFormat:

  1. #1
    Neuer skobbler
    Join Date
    04.09.2014
    Posts
    7

    Ausrufezeichen Getting crash on statement routeAdviceListWithDistanceFormat:

    [[SKRoutingService sharedInstance] routeAdviceListWithDistanceFormat:SKDistanceFormat MilesFeet]

    This statement crashed my app. This is in - (void)routingServiceSKRoutingService *)routingService didFinishRouteCalculationWithInfoSKRouteInformation*)routeInformation method.

    It seems to be concurrency issue. And it is not handled catch block as well.


    How to handle this crash? Please help me this is too painful.

  2. #2
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Hi Amit,

    What iOS version are you using?

  3. #3
    Neuer skobbler
    Join Date
    04.09.2014
    Posts
    7
    iOS 7 and above.

  4. #4
    Neuer skobbler
    Join Date
    04.09.2014
    Posts
    7
    Quote Originally Posted by Adela_Silvia View Post
    Hi Amit,

    What iOS version are you using?
    iOS 7 and above

  5. #5
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    I've reported this issue to our developers. I'll get back to you as soon as we have an update.
    Thank you for your understanding.

  6. #6
    Neuer skobbler
    Join Date
    04.09.2014
    Posts
    7
    Thanks Adela, I am waiting for response.
    Quote Originally Posted by Adela_Silvia View Post
    I've reported this issue to our developers. I'll get back to you as soon as we have an update.
    Thank you for your understanding.

  7. #7
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Hi Amit,

    Did you set shouldBeRendered = NO in route calculation settings? If yes, this is a known crash and a workaround would be setting shouldBeRendered = YES and clearing the routes after calling [[SKRoutingService sharedInstance] routeAdviceListWithDistanceFormat:SKDistanceFormat MilesFeet].

    On another hand, I want to let you know that we have a new version of the SDK 2.2: http://developer.skobbler.com/support#download
    Please update your SDK to latest version (2.2) and check if this is still reproducing.

  8. #8
    Neuer skobbler
    Join Date
    04.09.2014
    Posts
    7
    I am setting shouldBeRendered=YES. And it is mainly reproduced on iPhone4 with iOS 7.1
    Which method should call from below for clearing routes?
    -clearCurrentRoutes
    -clearRouteAlternatives
    -clearAllRoutesFromCache

  9. #9
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Clearing all routes from the map: clearCurrentRoutes

    Regarding your initial issue - are you still getting a crash on routeAdviceListWithDistanceFormat?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •