diff --git a/README.md b/README.md index 0236c69..4611a51 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,9 @@ shell> /path/to/CocosCreator.exe --path ./frontend --build "platform=win32;debug CocosCreator doesn't have perfect file cache management during native project building, use "Developer Tools > Reload" to reset the IDE status upon mysterious errors. ![ccc_reload](./charts/NativeBuildReload.png) +Another issue is with the package name, see the screenshot below, kindly note that after successfully building with a blank package name, you can then re-fill the desired package name and build again! +![ccc_package_name](./charts/PackageNameIssueInCcc.png) + ### 2.5 Checking UDP port binding result __*nix__ ``` diff --git a/charts/PackageNameIssueInCcc.png b/charts/PackageNameIssueInCcc.png new file mode 100644 index 0000000..2f0c1e4 Binary files /dev/null and b/charts/PackageNameIssueInCcc.png differ diff --git a/frontend/build-templates/.cocos-project.json b/frontend/build-templates/.cocos-project.json deleted file mode 100644 index 91b7873..0000000 --- a/frontend/build-templates/.cocos-project.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "engine_version": "2.2.1", - "has_native": true, - "project_type": "js", - "projectName": "DelayNoMore", - "packageName": "org.genxium.delaynomore" -} - diff --git a/frontend/build-templates/jsb-link/cocos-project-template.json b/frontend/build-templates/jsb-link/cocos-project-template.json index b25b63c..aa81c62 100644 --- a/frontend/build-templates/jsb-link/cocos-project-template.json +++ b/frontend/build-templates/jsb-link/cocos-project-template.json @@ -50,6 +50,18 @@ "frameworks/runtime-src/proj.android-studio/app/build.gradle", "frameworks/runtime-src/proj.android-studio/app/AndroidManifest.xml" ] + }, + "project_replace_mac_bundleid": { + "src_bundle_id": "org.genxium.delaynomore", + "files": [ + "frameworks/runtime-src/proj.ios_mac/mac/Info.plist" + ] + }, + "project_replace_ios_bundleid": { + "src_bundle_id": "org.genxium.delaynomore", + "files": [ + "frameworks/runtime-src/proj.ios_mac/ios/Info.plist" + ] } } } diff --git a/frontend/settings/builder.json b/frontend/settings/builder.json index ab222b4..69594f7 100644 --- a/frontend/settings/builder.json +++ b/frontend/settings/builder.json @@ -17,7 +17,8 @@ }, "encryptJs": false, "excludeScenes": [ - "8491a86c-bec9-4813-968a-128ca01639e0" + "2ff474d9-0c9e-4fe3-87ec-fbff7cae85b4", + "92160186-3e0d-4e0a-ae20-97286170ba58" ], "fb-instant-games": {}, "includeSDKBox": false, @@ -37,7 +38,7 @@ "REMOTE_SERVER_ROOT": "", "orientation": "portrait" }, - "startScene": "2ff474d9-0c9e-4fe3-87ec-fbff7cae85b4", + "startScene": "8491a86c-bec9-4813-968a-128ca01639e0", "title": "DelayNoMore", "webOrientation": "landscape", "wechatgame": { @@ -57,5 +58,5 @@ "packageName": "org.genxium.delaynomore" }, "win32": {}, - "includeAnySDK": false + "includeAnySDK": null }