Just trying to support game center in iOS.
For unknown reason it is trying to reference SceneKit framework.
The main problem is the variable in SceneKit > SCNJavascript.h has define @class JSContext;
It crash with spider monkey > TypeDecls.h struct JSContext; as redefinition.
Anybody has same issue?
I can’t even compile now.
Update -------------------------------------
Apparently you cannot run game center features in the same class with
#include “cocos/scripting/js-bindings/manual/ScriptingCore.h”
I move the initial game center setup to RootViewController and it start working (Don’t know if this is a good idea)