There is an error when building Mac Catalyst for Metal.
Specifically, when generating a project using cmake3.27.0 or higher, errors such as 'Foundation/NSURLHandle.h' file not found will occur.
We will continue to investigate the details.
- Use cmake with versions less than 3.27
An error occurs in the setup-cocos2d batch that is executed when setting up the Cocos2d-x sample project.
This is because GitHub has improved the security of the Git protocol, and Git fails to get the Cocos2d-x submodule.
Specifically, an error has occurred because the connection via git:// is no longer possible.
Please check the official GitHub blog for details.
- Replace the connection using
git://withhttps://by executing the following command in the terminal or command prompt.git config --global url."https://github.com/".insteadOf git://github.com/- Please note that this command affects gitconfig for all users of the execution terminal.
A memory leak occurs in the macOS sample builds of Metal and Cocos2d-x v4.0. This happens within the Metal framework, so please wait for official support. Note that we cannot answer inquiries regarding this matter.
Please check the Apple Developer Forums for more information.
Cocos2d-x v4.0 does not support Ubuntu 20.04 builds.
Please check and apply one of the following workarounds when using it.
-
Use
Ubuntu 16.04orUbuntu 18.04 -
Check the following issue and replace the
libchipmunklibrary used inCocos2d-x v4.0- cocos2d/cocos2d-x linking error when integrating with libchipmunk on linux#20471
- WARNING: Projects built using this workaround cannot be maintained under any circumstances.
In the OpenGL sample builds using Visual Studio 2013, a link error will occur in GLEW if you build using setup_glew_glfw.bat as is.
Please check and use the workaround below.
-
When using
GLEW 2.2.0- Remove the reference to
libvcruntime.libfrom theglewproject - Use Visual Studio later than
Visual Studio 2013
- Remove the reference to
-
When using
GLEW 2.1.0- Use
setup_glew_glfw_vs2013.batto set upthirdParty
- Use
To use .bundle and .dylib on macOS Catalina, you need to be connected to an online environment to verify your notarization.
Please check the official Apple documentation for details.
©Live2D