location not determined using daemon

别来无恙 提交于 2019-12-13 08:22:14

问题


trying to get location using a daemon on ios looked at this CLLocationmanager setAuthorizationStatus doesn't work (jailbreak)

but keep getting location not determined i have entitlements set (checked with ldid)

got an info.plist where the binary is and added the following keys to clients.plist but still cant get location

<key>com.apple.locationd.executable-{binary_path}</key>
 <dict>
 <key>Authorized</key>
 <true/>
 <key>BundleId</key>
 <string>{any_random_bundle}</string>
 <key>Executable</key>
 <string>{binary_path}</string>
 <key>Registered</key>
 <string>{binary_path}</string>
 <key>Whitelisted</key>
 <false/>
</dict>

回答1:


Comment by creker worked, simply adding preauthorise entitlement resolved the issue



来源:https://stackoverflow.com/questions/21780277/location-not-determined-using-daemon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!