cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

IOS archive failed

Open nieyanbing opened this issue 3 years ago • 0 comments

  • cocos2d-x version: 4.0
  • devices test on: MacBook Pro macOS Big Sur
  • Xcode version: Xcode 12.5

Steps to Reproduce:

  1. Compile and run normally in debug mode, whether it is an emulator or a real machine. everything is OK.
  2. when archiving:
    • clang: error: no such file or directory 'xxx/libcocos2d.a' and so on (openal, lua ...)
    • Command LD failed with a nonzero exit code
    • I have checked that Other Linker Flags have normal links to the necessary libraries specified to libcocos2d.a, etc. The same as the debug ones except for the path
    • The inspection found that the *.a files in the ios-build/lib/Release folder are only more than 180 bytes. This size must be wrong. I don’t know why

nieyanbing avatar Jun 18 '21 10:06 nieyanbing