问题
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