Luajit 64bit issue

Luajit 64bit issue

Hello everyone.

Now I am developing 2D game with cocos2d-x + lua.
I am using old cocos2d-x version cocos2d-x 3.3
Our game needs to upload appstore.
I am using luajit for my lua code.
My game need to support 64bit for upload appstore.
I think that I need to maintain 2 luajit code for 32bit and 64bit.
when I want to compile 64 bit luajit with this command “cocos luacompile --bytecode-64…”.
It shows incorrect syntax --bytecode-64.
I seems cocos2d-x 3.3 version don’t support 64bit luajit compile.
Now our all cocos studio files are already done with cocos2d-x 3.3
So we can’t update cocos2d-x 3.3 to any new versions.

How can I update only luajit section in my cocos2d-x 3.3 platform?
If possible, please let me know detail, step by step guide.

Any tips for maintain 64 bit luajit code?

Thank you
Best Regards.

I found solution.
I get 3rd party library from
And update cocos2d-x console.
Then it allows me to compile luajit 64bit.

But when I replace 32bit luajit code to 64bit luajit, it is not working in xcode project.
It shows
error: syntax error during pre-compilation.
our current platform is cocos2d-x 3.3

Please help me.
Thank you
Best Regards