cocos2d/cocos2d-x

libMiniCL.a link error when building for iOS Simulator

SteveMobile opened this issue · 0 comments

  • cocos2d-x version: 4.0
  • devices test on: iOS
  • developing environments
    • NDK version:
    • Xcode version:
    • VS version:
    • browser type and version:

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)