Hello everyone! I just get started to cocos2d-x but I have a problem. I’m following common steps to create a “Hello World” project. But I’m taking errors even if I try it on mac directory by “cmake …/… -GXcode” command or on ios directory by “cmake …/… -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_SYSROOT=iphoneos” command.
If I try it on mac directory I take this error:
If try it on ios directory taking this error:
but when I change libz.dylib and libiconv.dylib or remove them, taking this error:
So, how can I run this? Thank you for your time
MacOS Big Sur
Macbook Air M1 Chip