File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ sort: 7
28284 . 在Xcode的左侧工程视图里面,找到` Unity-iPhone ` ,右键菜单` Add Files To "Unity-iPhone" ` ,把` ~/Desktop/TEST-U3D/COSDK ` 加入
2929
30305 . 点击` 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
32346 . 在 ` 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## 混淆器配置
45451 . 打开` 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>
Original file line number Diff line number Diff 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
37374 . 点击` 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
39405 . 更改` 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
83875 . 点击【开始混淆】按钮
8488>
You can’t perform that action at this time.
0 commit comments