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

lua_open() Thread 1: EXC_BAD_ACCESS #20659

Open nghichtu91 opened 3 years ago

nghichtu91 commented 3 years ago

Steps to Reproduce:

i build successfly with xcode, my app install iOS simulator(iPhone 8, 13.0), but i have issue in image.

Screen Shot 2021-04-04 at 11 07 40
gjy1606 commented 2 years ago

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

gjy1606 commented 2 years ago

found solution, download new version for luajit.a and replace. Build and run on simulator success.