1
- ### 环境要求
2
- 使用工具前确保如下几点:
1
+ ## EasyDev
3
2
4
- * 安装EasyDev
5
- 将EasyDev下载后,放到/opt/EasyDev,如果没有/opt目录,自建
3
+ 基于[ MonkeyDev] ( https://github.com/AloneMonkey/MonkeyDev ) 开发的简化和增强版本。
4
+
5
+ 支持 ` Xcode 10 ~ Xcode 14 ` 。
6
+
7
+ 本版本修改点:
8
+
9
+ * 支持` CaptainHook Tweak ` 、` Logos Tweak ` 、` Debian Command-line Tool ` 、` Cocoa Touch Library ` 、` XPC Service ` 、` PreferenceLoader Bundle `
10
+ * 支持` iOS Command-line Tool ` 、` iOS App Plugin ` 、` Mac App Plugin `
11
+ * 去除了` MonkeyDev ` 自动集成class-dump、restore-symbol、Reveal、Cycript的功能
12
+ * 支持开发第三方应用插件并与第三方应用联调
13
+ * 集成一些常用的工具(可在终端中使用,不会集成到项目中)
14
+
15
+ ![ ] ( ScreenShots/[email protected] )
16
+
17
+ 免责声明: 软件仅供技术交流,禁止用于商业及非法用途,如产生法律纠纷与本人无关。
18
+
19
+ ## 环境配置
20
+
21
+ ### 配置 theos
6
22
7
- * 安装最新的 [ theos] ( https://github.com/theos/theos/wiki/Installation )
8
23
```
9
24
sudo git clone --recursive https://github.com/theos/theos.git /opt/theos
10
25
```
11
- 配置环境变量,打开~ /.bash_profile,末尾加入
26
+
27
+ 打开 ` ~/.bash_profile ` ,末尾加入
12
28
13
29
```
14
30
export THEOS=/opt/theos
15
31
export PATH=/opt/theos/bin/:$PATH
16
32
```
33
+
17
34
刷新生效
35
+
18
36
```
19
37
source ~/.bash_profile
20
38
```
21
39
22
- * 安装ldid(bin目录内已自带,可不安装)
40
+ 遇到问题,请参考 [ theos] ( https://github.com/theos/theos/wiki/Installation ) 安装文档。
41
+
42
+ ### 配置 EasyDev
43
+
44
+ ```
45
+ sudo git clone --recursive https://github.com/lemon4ex/EasyDev.git /opt/EasyDev
46
+ ```
47
+
48
+ ### 配置 ldid
49
+
23
50
```
24
51
brew install ldid
25
52
```
26
53
27
- * 配置免密码登录越狱设备(如果没有越狱设备,跳过)
54
+ ` /opt/EasyDev/bin ` 目录内已自带,也可不安装。
55
+
56
+ ### 配置免密码登录越狱设备
57
+
28
58
```
29
59
ssh-keygen -t rsa -P ''
30
60
ssh-copy-id -i /Users/username/.ssh/id_rsa root@ip
31
61
```
32
62
63
+ 如果没有越狱设备,可跳过。
64
+
33
65
### 安装
66
+
34
67
你可以通过以下命令选择指定的Xcode进行安装:
68
+
35
69
```
36
70
sudo xcode-select -s /Applications/Xcode.app
37
71
```
38
72
39
73
查看安装的Xcode路径为:
74
+
40
75
```
41
76
xcode-select -p
42
77
```
43
78
44
79
执行安装命令:
80
+
45
81
```
46
- git clone --recursive https://[email protected] /lemon4ex/easydev.git /opt/EasyDev
47
82
cd /opt/EasyDev/bin
48
83
chmod +x ed-install
49
84
./ed-install
@@ -56,12 +91,8 @@ chmod +x ed-uninstall
56
91
./ed-uninstall
57
92
```
58
93
59
- ### 更新(暂无)
60
- 如果没有发布特殊说明,使用如下命令更新即可:
61
- ```
62
- cd /opt/EasyDev/bin
63
- chmod +x ed-update
64
- ./ed-update
65
- ```
94
+ 为确保生效,安装或更新之后重启下Xcode再新建项目。
66
95
67
- 安装/更新之后重启下Xcode再新建项目。
96
+ ## 感谢
97
+ * [ MonkeyDev] ( https://github.com/AloneMonkey/MonkeyDev )
98
+ * [ iOSOpenDev-Xcode-Templates] ( https://github.com/kokoabim/iOSOpenDev-Xcode-Templates )
0 commit comments