I keep having this problem trying to compile my game. I have followed and read a lot of posts and sdkbox help. I’ve disabled -ObjC, and nothing, I’ve included libz…tbd also, I’ve reimported many .frameworks too… What am I missing? I’m working with Cocos 3.10
Undefined symbols for architecture arm64:
"JSFunctionWrapper::JSFunctionWrapper(JSContext*, JSObject*, JS::Value)", referenced from:
sdkbox::JSListenerBase::setJSDelegate(JS::Handle<JS::Value>) in SDKBoxJSHelper.o
"jsb_new_proxy(void*, JSObject*)", referenced from:
bool dummy_constructor<sdkbox::PluginFacebook>(JSContext*, unsigned int, JS::Value*) in PluginFacebookJS.o
bool dummy_constructor<sdkbox::PluginFlurryAnalytics>(JSContext*, unsigned int, JS::Value*) in PluginFlurryAnalyticsJS.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[EDIT]: Nevermind, I figured it out the problem… I was using an old headers folder (cocos 3.8.1), I change it to 3.10, and everything works like a charm.