未使用守护程序确定位置 [英] location not determined using daemon

查看:71
本文介绍了未使用守护程序确定位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图在iOS
上使用守护程序获取位置,这已经看了 CLLocationmanager setAuthorizationStatus没有't正常工作(越狱)

但仍无法确定位置
i已设置权利(已通过ldid检查)

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

在二进制文件所在的位置获取了一个info.plist,并将以下密钥添加到clients.plist
但仍然无法获取位置

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>


推荐答案

creker的注释有效,只需添加预授权权利即可解决问题

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

这篇关于未使用守护程序确定位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆