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.02k stars 7.05k forks source link

libMiniCL.a link error when building for iOS Simulator #20782

Open SteveMobile opened 10 months ago

SteveMobile commented 10 months ago

Steps to Reproduce:

  1. cocos run --proj-dir .. -p ios
  2. ld: in xxxxx/cocos2d/external/bullet/prebuilt/ios/libMiniCL.a(MiniCL.o), building for iOS Simulator, but linking in object file built for iOS, file xxxxx/cocos2d/external/bullet/prebuilt/ios/libMiniCL.a' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)