越狱解决方案iOSOpenDev中的ios权利

时间:2013-09-06 02:35:57

标签: ios jailbreak iphone-privateapi

我使用MobileWifi私有框架列出所有接入点。它是越狱手机,我使用iOSOpenDev进行编译和部署。我在Project-> BuildSettings->“Code Signing Entitlements”中包含了entitlements.xml

XML已

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.wifi.manager-access</key>
    <true/>
</dict>
</plist>

我仍然收到错误

_wifi_manager_open Client WifiTest has no entitlement 

我认为我错过了添加权利的正确方法。任何想法如何使它工作?

修改 所以我使用ldid根据你以前的答案签署了应用程序。 ldid给出了以下输出。

WifiTest
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>ECZNUJJL7C.com.WifiTest</string>
<key>get-task-allow</key>
<true/>
<key>keychain-access-groups</key>
<array>
    <string>ECZNUJJL7C.com.WifiTest</string>
</array>
</dict>
</plist>

我假设它已经签署了应用程序。然后使用iExplorer我直接在设备上传输了WifiTest.app。它崩溃了。日志显示..

Sep  6 16:02:31  com.apple.launchd[1] (UIKitApplication:com.WifiTest[0x4d49][19575]) <Error>: (UIKitApplication:com.WifiTest[0x4d49]) posix_spawn("/var/mobile/Applications/CCCAA7CB-2304-4A99-8306-20234E38652F/WifiTest.app/WifiTest", ...): Permission denied


Sep  6 16:02:31  SpringBoard[19291] <Warning>: Unable to obtain a task name port right for pid 19575: (os/kern) failure


Sep  6 16:02:31  com.apple.launchd[1] (UIKitApplication:com.WifiTest[0x4d49][19575]) <Warning>: (UIKitApplication:com.WifiTest[0x4d49]) Exited with code: 1


Sep  6 16:02:31  SpringBoard[19291] <Warning>: Unable to look up event port name for pid 19575: (os/kern) successful


Sep  6 16:02:31  SpringBoard[19291] <Warning>: Unable to send activation event to <SBApplication: 0xd223be0> com.WifiTest animate statusBarOrientation = 1  activate: animationStart = 0  deactivate: : (ipc/send) invalid destination port

0 个答案:

没有答案