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

前端 未结 9 757
终归单人心
终归单人心 2020-12-15 02:42

I\'m trying to get my app working in Xcode 7 beta but I\'m hitting this exception:

NSInternalInconsistencyException: \'Invalid parameter not satisfying: !sta         


        
9条回答
  •  有刺的猬
    2020-12-15 03:23

    I had similar issue. Below are steps to fix this crash issue (using Xcode 11.3).

    1. Add Privacy - Location usage description in Info.plist of your project.

    1. Add Background Modes as Capability in your Project Target.

    1. Select Location Update option

提交回复
热议问题