cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.2k stars 7.06k forks source link

Will cocos2d work on ARM-based macs? #20558

Open taralika opened 4 years ago

taralika commented 4 years ago

Apple is coming out with ARM-based macs this year, will cocos2d continue to work as is on those? will they have webgl support? or should we prepare for any disruption?

GarrettAlbright commented 3 years ago

I'm trying to learn to use Cocos2d-x on a Mac mini with an M1 and not getting very far. When I try to run cocos run -p mac in my sample project, compilation halts with an error that can be boiled down to: ld: symbol(s) not found for architecture arm64. I'm more or less an absolute newbie to C++ so I'm not sure if there's anything I can do to fix that.

furui commented 3 years ago

I second this issue on my MacBook Air M1. Really loved using Cocos2d in the past and would love to see an update!

trmi88 commented 3 years ago

Hey guys! Any update for this? I got this issues too when trying to run new project in Mac mini m1, Xcode said missing architecture arm64!

vkreal commented 3 years ago

I second, any update for M1 support?

slackmoehrle commented 3 years ago

I don't know the current timeline. I will ask the engineering team for thoughts.

slackmoehrle commented 3 years ago

We don't have a plan for this work at this time.

tungnguyenvan commented 2 years ago

I third, any update for M1 support?

tungnguyenvan commented 2 years ago

In this time, I try to run cocos run -p Mac, it can run normally. But wen I try run this project on Xcode Version 13.3 (13E113) it have more than 100 error Undefined symbol: _FT_Done_Face, _FT_Done_FreeType, _FT_Done_Glyph, ... Can you suggest for me fix this problem?

udirub commented 1 year ago

I just run into the same errors... Any updates on how to fix it?

fnc12 commented 4 months ago

I have the same issue. Is it just a freetype missing error or something more complicated?

thienphuoc commented 4 months ago

If you are using an Intel Mac, please plug in the real device to select the arm64 iOS build. The x86_64 simulator is not supported.

fnc12 commented 4 months ago

If you are using an Intel Mac, please plug in the real device to select the arm64 iOS build. The x86_64 simulator is not supported.

@thienphuoc we all use ARM macs here not Intel