Estimote / iOS-Indoor-SDK

Estimote Indoor SDK for iOS
MIT License
484 stars 136 forks source link

Crashing #1

Closed RonaldKonijnenburg closed 9 years ago

RonaldKonijnenburg commented 9 years ago

compiled and stored on my iPad but it keeps crashing after making a map. Basically mapping out works, but it crashed directly after that. Also loading a Json mapped with the Estimote app causes a crash. Any thoughts?

wiktor commented 9 years ago

What device and OS version? Are you referring to SDK examples? Can you provide stack trace?

RonaldKonijnenburg commented 9 years ago

ios 7.1.2, ipad air and iphone 5. Sdk examples indeed. Stack trace? It doesnt crash on the simulator.

wiktor commented 9 years ago

So it crashes only on device?

Can you provide JSON file that you exported from app that causes the crash?

RonaldKonijnenburg commented 9 years ago

https://www.dropbox.com/s/369siloma0zdkqn/location.json?dl=0

wiktor commented 9 years ago

Do you mean that it did not want to compile and run on a device?

RonaldKonijnenburg commented 9 years ago

It did. It crashes on the iphone when pulling up the map. Does it work for you?

wiktor commented 9 years ago

I downloaded the SDK. Opened examples in Obj-C, replaced contents of location.json to your location and run on iOS 8 on iPhone 5 and on Simulator. That worked. Let me check iOS 7

wiktor commented 9 years ago

Does this location work in the app? Since you generated it, it must have worked, right?

On Thu, Sep 25, 2014 at 10:08 PM, sjako notifications@github.com wrote:

It did. It crashes on the iphone when pulling up the map. Does it work for you?

Reply to this email directly or view it on GitHub: https://github.com/Estimote/iOS-Indoor-SDK/issues/1#issuecomment-56875998

RonaldKonijnenburg commented 9 years ago

It did

wiktor commented 9 years ago

It tested on iPad 2/iOS 7 and iPhone 5/iOS 8 and it worked well with your location.

1) Can you paste here output from console when it crashes? There needs to be some exception noted there.

2) I see that in your location there are misplaced door (error on our part in algorithm). Can you remove door definition from JSON and see how it works?