article thumbnail

[3.8.1] Use XCode 15.3 (MACOSX 14.4.1) Build iOS & mac platform failed

Cocos

Try to test a simple, empty build, but failed when XCode builds (or using Cocos Creator ‘make’ button). The following is the build error logs. We need to upgrade our MAC build machine soon. CocosCreator.app/Contents/Resources/resources/3d/engine/scripts/native-pack-tool/source/utils.ts:483:28) Can anyone help?

Build 40
article thumbnail

How to build only scripts with command line publish

Cocos

I was able to solve the problem by adding the “buildScriptsOnly=true” that you taught me to add to the build parameter! Applications/CocosCreator.app/Contents/MacOS/CocosCreator --path projectPath --build "platform=web-mobile;debug=true;buildScriptsOnly=true" My only regret is that it is not listed in the manual… Thank you for your help.

Build 40
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

How to build only scripts with command line publish

Cocos

Applications/CocosCreator.app/Contents/MacOS/CocosCreator buildScriptsOnly --path projectPath --build "platform=web-mobile;debug=true" Thank you. Is this “buildScriptsOnly parameter” a hidden parameter not mentioned in the manual? Can I specify the following as a parameter?

Build 40
article thumbnail

Error with cocos creator build ios

Cocos

When I build any project to iOS, cmake was failed. 2023-9-27 10:03:36-error: Error: Run build plugin native:(onAfterBuild) failed! When I build any project to iOS, cmake was failed. 2023-9-27 10:03:36-error: Error: Run build plugin native:(onAfterBuild) failed! When I build any project to iOS, cmake was failed.

Build 40
article thumbnail

Broken Android build process

Cocos

287 02-05 12:52:14.851 28268 28389 E Cocos : 02-05 12:52:14.851 28268 28389 E Cocos : 12:52:14 [ERROR]: E/ ScriptEngine::evalString script (no filename), failed! 291:15 I definitely haven’t changed anything in an engine or in a build settings. 291:15 I definitely haven’t changed anything in an engine or in a build settings.

Build 40
article thumbnail

Can not load scene from AssetBundle (3.8.0 - 3.8.2)

Cocos

I tried everything I can to load the scene in the bundle (web-mobile) and it never works in a Release build. Still working correctly in debug builds though. Sometimes, the scene is missing from build build (I tried to load all the scenes in bundle and it returns an empty array). And I were able to getSceneInfo.

Debug 52
article thumbnail

[Error, Bug] when running the game on iOS simulator

Cocos

I have no problem for building and making the app, but when I start the app on the simulator it will crash. Also, here is the error I’ve gotten: 8-5-2023 12:38:50-debug: // - build task native:make - (220380ms) 8-5-2023 12:38:50-log: [task:make]: native:(make) in 220380 ms ✓, 23.333333333333332% 8-5-2023 12:38:50-log: [task:make]: success!