MonkeyDev
2018-07-09 本文已影响34人
一叶夏幕
MonkeyDev
安装很简单,可以选择指定的Xcode安装:
sudo xcode-select -s /Applications/Xcode-beta.app
如果不指定的话,默认就是:
xcode-select -p
然后安装:
git clone https://github.com/AloneMonkey/MonkeyDev.git
cd MonkeyDev/bin
sudo ./md-install
如果不用,运行下面的命令卸载:
sudo ./md-uninstall
image
当然使用前,你要安装最新版本的theos:
https://github.com/theos/theos/
包括
brew install ldid
然后设备免密码登录:
ssh-keygen -t rsa -P ''
ssh-copy-id -i /Users/ios/.ssh/id_rsa root@192.168.2.4
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/ios/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.2.4's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'root@192.168.2.4'"
and check to make sure that only the key(s) you wanted were added.
之后用xcode新建一个monkeydev项目,并将破壳的ipa放到TargetApp目录下,链接设备编译即可。