Results 1 to 2 of 2

Thread: [SKMaps 2.5.1] SKMaps Demo is Broken ("Map JSON & download")

  1. #1
    Neuer skobbler
    Join Date
    06.07.2014
    Posts
    8

    Ausrufezeichen [SKMaps 2.5.1] SKMaps Demo is Broken ("Map JSON & download")

    Hi,

    Good stuff with version 2.5.1! Mainly on Xcode 7, Swift 2.0 support. Thanks for that!

    The demo project seems to be broken. When I click on "Map JSON & download", the app crashes.

    fatal error: unexpectedly found nil while unwrapping an Optional value
    The stack trace points to:

    #1 0x000000010004b6ec in RootViewController.tableView(UITableView, didSelectRowAtIndexPath : NSIndexPath) -> ()
    at /Users/fernandofernandes/Desktop/SKMapsSwiftDemo/SKMapsSwiftDemo/Classes/ViewControllers/RootViewController.swift:104
    RootViewController.swift, line 104:

    Code:
    let packages : Array = (appDelegate.skMapsObject.packagesForType(.Continent) as? Array)!
    At that point, it seems that the skMapsObject wasn't initialized:

    Code:
    (lldb) po appDelegate.skMapsObject
    nil
    Cheers,
    - Fernando

  2. #2
    Oberskobbler
    Join Date
    22.07.2014
    Posts
    399
    Thanks Fernando for letting us know. We'll check this immediately.

    Update[27.10.2015]: We confirm that the reported issue is fixed in the iOS SDK and will be publicly available in the next update.
    Last edited by Adela_Silvia; 27.10.2015 at 10:49.

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
  •