Skip to content

Commit 0bc937a

Browse files
committed
补充一些文档
1 parent 8d030d2 commit 0bc937a

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docs/新手教程/Unity project confuse.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ sort: 7
2828
4. 在Xcode的左侧工程视图里面,找到`Unity-iPhone`,右键菜单`Add Files To "Unity-iPhone"`,把`~/Desktop/TEST-U3D/COSDK`加入
2929

3030
5. 点击`Xcode``Unity-iPhone`这个工程文件 找到 TARGETS 里面的 `Unity-iPhone`,在`Framework Search Paths`里面添加 `"$(PROJECT_DIR)/COSDK"`
31+
>
32+
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-41.png" width="60%">
3133
3234
6.`Unity-iPhone``Build Phases/Link Binary With Libraries`里面加入`COSDK.framework`
35+
>
36+
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-42.png" width="60%">
3337
34-
7. 点击`Xcode``Unity-iPhone`这个工程文件 找到 TARGETS 里面的 `UnityFramework`,在Framework Search Paths里面添加` "$(PROJECT_DIR)/COSDK"`
35-
36-
8.`UnityFramework``Build Phases/Link Binary With Libraries`里面也加入`COSDK.framework`
37-
38-
9. 更改`Unity-iPhone`这个Target的`bundle id`,与您新应用的`bundle id`一致
38+
7. 更改`Unity-iPhone`这个Target的`bundle id`,与您新应用的`bundle id`一致
3939

40-
10. 在AppStore上为`UnityFramework`创建一个单独的`bundle id`这个会单独签名,之后混淆器的编译设置里面需要设置单独的签名设置,需要在一个证书内
40+
8. 在AppStore上为`UnityFramework`创建一个单独的`bundle id`可选,如果你的工程里面给UnityFramework设置单独的bunlde id
4141

42-
11. 确保Xcode能正常编译
42+
9. 确保Xcode能正常编译
4343

4444
## 混淆器配置
4545
1. 打开`crab-orange.app`
@@ -79,7 +79,9 @@ sort: 7
7979
>
8080
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-34.png" width="40%">
8181
82-
7. 等混淆结束后,点击打开工程按钮,准备运行应用,会发现 `Unity-iPhone` 那个下拉框打开后,会多一个target,它的icon上面有一个阻止的标示,选中它,会自动安装应用到手机,就可以开始调试了(类似下图)
82+
7. 如果需要对资源做加密混淆,请阅读相关文档 [如何混淆一个自定义格式的资源](https://outtable.github.io/confuse-9live/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/%E8%87%AA%E5%AE%9A%E4%B9%89%E8%B5%84%E6%BA%90%E6%B7%B7%E6%B7%86.html)[外部SDK混淆](https://outtable.github.io/confuse-9live/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/%E5%A4%96%E9%83%A8SDK%E6%B7%B7%E6%B7%86.html) 两篇文章
83+
84+
8. 等混淆结束后,点击打开工程按钮,准备运行应用,会发现 `Unity-iPhone` 那个下拉框打开后,会多一个target,它的icon上面有一个阻止的标示,选中它,会自动安装应用到手机,就可以开始调试了(类似下图)
8385
>
8486
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-8.png" width="80%">
8587
>

docs/新手教程/cocos2d-x project confuse.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ sort: 8
3535
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-15.png" width="90%">
3636
3737
4. 点击`Xcode``cocos2d_tests`这个工程文件 找到 TARGETS 里面的 `cpp-tests IOS`,在`Framework Search Paths`里面添加 `"$(SRCROOT)/../cocos/COSDK"`
38+
<img src="https://outtable.github.io/confuse-9live/assets/images/snapshots/snapshot-43.png" width="60%">
3839

3940
5. 更改`cocos2d-x`工程中`cpp-tests`这个Target的`bundle id`,与您新应用的`bundle id`一致
4041
>
@@ -79,6 +80,9 @@ sort: 8
7980
```tip
8081
因为大部分项目都有自己的脚本加密方案在POST_BUILD阶段替换,所以需要修改一下js脚本的混淆操作发生时机,在【资源脚本】/【lua 脚本定义】 里面修改`confuse-script-phase` 为 `copy-resource` 就可以了
8182
```
83+
```tip
84+
如果需要对其他资源做加密混淆,请阅读相关文档 [如何混淆一个自定义格式的资源](https://outtable.github.io/confuse-9live/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/%E8%87%AA%E5%AE%9A%E4%B9%89%E8%B5%84%E6%BA%90%E6%B7%B7%E6%B7%86.html)、[外部SDK混淆](https://outtable.github.io/confuse-9live/%E9%AB%98%E7%BA%A7%E6%8A%80%E5%B7%A7/%E5%A4%96%E9%83%A8SDK%E6%B7%B7%E6%B7%86.html) 两篇文章
85+
```
8286

8387
5. 点击【开始混淆】按钮
8488
>

0 commit comments

Comments
 (0)