Crash in iOS SDK - Adding Geoloqi to existing project
  • I can run the sample app fine and I've followed the instructions to add GeoLoqi to an existing project of mine and everything builds fine but I experience a crash in:

    [LQTracker configureAnonymousUserAccountWithUserInfo:nil profile:LQTrackerProfileOff];

    The log output looks like this:

    /+[LQSession setAPIKey:secret:] (LQSession.m:59) Setup of LQSession version 12.060
    /-[LQTracker init] (LQTracker.m:125) need to create LQSession
    /-[LQTracker init] (LQTracker.m:130) sprofile: 0
    2012-03-25 23:03:54.874 TrivialDemo[14939:11003] -[UIDevice lq_hardwareInfoString]: unrecognized selector sent to instance 0x881e180
    2012-03-25 23:03:54.881 TrivialDemo[14939:11003] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIDevice lq_hardwareInfoString]: unrecognized selector sent to instance 0x881e180'
    Don't know if this is a bug or something I am doing wrong. I am running this in the iPhone, iOS 5.1 simulator.Thanks for any pointers,Neil.
  • 4 Comments sorted by
  • Thanks for reporting this. I have a fix for this which will be pushed out in the next update of the SDK. I think this problem surfaced because the current SDK is compiled against iOS 5.0.
  • Thanks Aaron,

    Do you have a timeframe for that SDK push? I am just trying to decide if I should wait for that or pull down the iOS 5.0 SDK into XCode.

    Thanks again,

    Neil.
  • Sorry for the delay. We should have an update out early next week, but it wouldn't hurt to get the 5.0 SDK if you want to start right away.
  • Just pushed out the update with this fix! Let me know if you continue to have trouble!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion