forked from AloneMonkey/MonkeyDev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
AloneMonkey
committed
Jun 28, 2017
1 parent
788466b
commit 0bae5d9
Showing
2 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,50 @@ | ||
# MonkeyDev | ||
MonkeyDev | ||
|
||
iOSOpenDev修改版。 | ||
|
||
* 安装更简单 | ||
* 支持最新版theos | ||
|
||
### 安装 | ||
|
||
``` | ||
git clone https://github.com/AloneMonkey/MonkeyDev.git | ||
cd MonkeyDev/bin | ||
sudo ./md-install | ||
``` | ||
|
||
### 使用 | ||
新建项目,在iOS模板最下面可以找到`MonkeyDev`模板,暂时只支持`CaptainHook Tweak`和`Logos Tweak`。 | ||
|
||
`Logos Tweak`会自动链接`CydiaSubstrate`,不再需要手动链接。 | ||
|
||
`Commonand + B`编译,不安装,设置`MonkeyDevInstallOnAnyBuild`为`YES`,会自动打包安装到设备。 | ||
|
||
`Command + Shift + i`编译安装,但是这种方式是`Release`模式,看不到log输出。 | ||
|
||
在编译设置中可以自定义设备ip和ssh的端口: | ||
|
||
![image](http://7xtdl4.com1.z0.glb.clouddn.com/script_1498636483087.png) | ||
|
||
不设置的话,ip默认为`localhost`,port默认为`2222`。 | ||
|
||
当然你也可以在`~/.zshrc`或其它profile里面设置`MonkeyDevDevice`和`MonkeyDevPort`。 | ||
|
||
查看log的会可以使用`idevicesyslog`查看,毕竟带颜色。。。。 | ||
|
||
### 注意 | ||
|
||
* 本工具配合最新[theos](https://github.com/theos/theos/)使用。 | ||
* 安装 brew install ldid | ||
* 设备免密码登录 | ||
|
||
``` | ||
ssh-keygen -t rsa -P '' | ||
ssh-copy-id -i /Users/用户名/.ssh/id_rsa root@IP | ||
``` | ||
|
||
### 卸载 | ||
|
||
``` | ||
sudo ./md-uninstall | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters