Mojoc
Mojoc copied to clipboard
IOS build failed
env: macOS 14.1.1 (m1) xcode 15.1 Issue: In xcode no found "Engine/Build/Android/Bin/cmake_install.cmake"
To fix this issue, just create path "Bin", and copy "CMakeLists.txt" into Bin, then rename it with "cmake_install.cmake"
编译IOS或Android有个平台宏文件,需要手动修改一下,在这个文件里“Engine/Toolkit/Platform/Platform.h”,修改:
#define PLATFORM_TARGET PLATFORM_ANDROID 或 PLATFORM_IOS
然后再试试,如有问题再贴出错误。
Here is scottcgi's post translated into English: There is a platform macro file when compiling IOS or Android, which needs to be modified manually. In this file "Engine/Toolkit/Platform/Platform.h", modify:
#define PLATFORM_TARGET PLATFORM_ANDROID or PLATFORM_IOS
Then try again and post errors if there are any problems.