lua_open() Thread 1: EXC_BAD_ACCESS
nghichtu91 opened this issue · comments
- cocos2d-x version: 4.0
- devices test on: iOS simulator(iOS 14 Pro)
- developing environments
- NDK version:
- Xcode version: 14.0 (14A309)
- VS version:
- browser type and version:
- Steps to Reproduce:
- settings and build success cocos2d-x 4.0
- select simulator iOS 14 Pro, build success
- run on this device
- ERROR: lua_open() EXC_BAD_ACCESS
yes, i have the same issues.
I found old issues like this in [#17043].
This seems like a problem, but the version is too old and I tried to use that luajit.a
to solve always, and did failed. The error is:
libluajit.a(lj_vm.o), building for iOS Simulator, but linking in object file built for macOS, file 'libluajit.a' for architecture x86_64
Any ideas
found solution, download new version for luajit.a and replace. Build and run on simulator success.