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

越狱解决方案iOSOpenDev中的ios权限,ios,jailbreak,iphone-privateapi,Ios,Jailbreak,Iphone Privateapi,我正在使用MobileWifi私有框架列出所有访问点。这是一款越狱手机,我使用ioopendev进行编译和部署。我在Project->BuildSettings->“代码签名权限”中包含了authentications.xml XML具有 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/Pr

我正在使用MobileWifi私有框架列出所有访问点。这是一款越狱手机,我使用ioopendev进行编译和部署。我在Project->BuildSettings->“代码签名权限”中包含了authentications.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>
我想我错过了增加福利的正确途径。有什么办法让它工作吗

编辑: 所以我用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>
WifiTest
应用程序标识符
ECZNUJJL7C.com.WifiTest
获取任务允许
密钥链访问组
ECZNUJJL7C.com.WifiTest
我假设它在应用程序上签名。然后,我使用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
9月6日16:02:31 com.apple.launchd[1](UIKitApplication:com.WifiTest[0x4d49][19575]):(UIKitApplication:com.WifiTest[0x4d49])posix_-spawn(“/var/mobile/Applications/CCCAA7CB-2304-4A99-8306-20234E38652F/WifiTest.app/WifiTest”):权限被拒绝
Sep 6 16:02:31 SpringBoard[19291]:无法获取pid 19575的任务名称端口权限:(os/kern)失败
9月6日16:02:31 com.apple.launchd[1](UIKitApplication:com.WifiTest[0x4d49][19575]):(UIKitApplication:com.WifiTest[0x4d49])退出,代码:1
Sep 6 16:02:31 SpringBoard[19291]:无法查找pid 19575的事件端口名称:(os/kern)成功
9月6日16:02:31 SpringBoard[19291]:无法将激活事件发送到com.WifiTest animate status barorientation=1激活:animationStart=0停用:(ipc/send)目标端口无效

@Nate-所以我用我的自定义应用程序挂起了这个调整(它是独立的动态库),但它没有相应的权利。如果我用跳板把它钩住,它就会起作用。。若我将权限应用于我的自定义应用程序,xcode会抛出错误,因为自定义应用程序不是调整或乐高积木项目。。任何关于如何使其工作的想法…@Nate-我还添加了完整的xml。@Nate-我还尝试使用“codesign-f-s--authorights.xml”-我使用identity作为我已经拥有的开发者许可证。。但我签的是dylib。不是真正挂钩和调用tweak的自定义应用程序。。我应该吗?所以,我现在没有使用IOOpenDev。。。只是普通的Xcode。但是,一般来说,我不会通过我的Xcode项目添加权利。我在Xcode内部构建代码,根本不需要代码签名,然后使用
ldid
后缀运行一行命令来伪造代码签名并添加authentications.xml文件,所有这些都是一次性的?如果你已经安装了ioopendev,它将为你完成几个步骤。因此,重要的是为你的应用程序添加权限,而不是它使用的动态库。即使动态库是进行MobileWifi调用的,我认为您也需要对运行它的应用程序可执行文件进行签名。这有意义吗?
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