Mojoc icon indicating copy to clipboard operation
Mojoc copied to clipboard

IOS build failed

Open youngtrips opened this issue 1 year ago • 2 comments

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"

youngtrips avatar Dec 27 '23 15:12 youngtrips

编译IOS或Android有个平台宏文件,需要手动修改一下,在这个文件里“Engine/Toolkit/Platform/Platform.h”,修改:

#define PLATFORM_TARGET PLATFORM_ANDROID 或 PLATFORM_IOS

然后再试试,如有问题再贴出错误。

scottcgi avatar Dec 28 '23 10:12 scottcgi

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.

dyapan33 avatar Mar 25 '24 14:03 dyapan33