Can't locate file for: -lluajit

When I build a test lua demo with cocos2dx 3.15.1 version.
I create a project by this:

cocos new luatest -l lua -p com.stan.luatest -d /projects

then I open project with Xcode. and build it
but I got this issue:

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lluajit

How Can I fix it.

How did you get cocos2d-x v3.15.1? Could you please run which cocos to make sure the cocos console comes from v3.15.1.

tsk, I confirm and fix it.