NSInternalInconsistencyException: ‘Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)’

I’ve managed to solve this by doing these two things:

  • added UIBackgroundModes ‘location’ to Info.plist
  • added NSLocationAlwaysUsageDescription to Info.plist

As of iOS 11, keys are named:

  • NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)