cocos3d-x 3.3版本xcode9无法编译通过

目前使用的引擎用的是cocos2d-x 3.3的版本,然后xcode升级到9以后 应为system被废弃掉了,官网上解决的方案都是只正对CCFileutils中的修改 但是我编译的时候遇到在cocos2d\external\lua\lua\lioslib.c文件中有如下的调用:

static int os_execute (lua_State *L) {
lua_pushinteger(L, system(luaL_optstring(L, 1, NULL)));
return 1;
}
这个函数中也用到了system,请问大大们这里的system需要怎么来改动呢

换个lua的版本试试,或者用luajit。