2.4.0真机加载sdkbox失败

遇到的问题:真机上面跑游戏,在加载sdkbox的时候遇到Assert断言失败。环境是IOS
Assertion failed: (isObject()), function toObject, file /Applications/CocosCreator/Creator/2.4.0/CocosCreator.app/Contents/Resources/cocos2d-x/cocos/scripting/js-bindings/jswrapper/Value.cpp, line 539.

报错在下面这行代码
`bool register_all_PluginIAPJS_helper(se::Object* obj)
{
auto pluginValue = sdkbox::getPluginValue(obj, “sdkbox.IAP”);
auto plugin = pluginValue.toObject();
plugin->defineFunction(“setListener”, _SE(js_PluginIAPJS_setListener));
plugin->defineFunction(“getProducts”, _SE(js_PluginIAPJS_IAP_getProducts));

se::ScriptEngine::getInstance()->clearException();
return true;

}错误行 auto pluginValue = sdkbox::getPluginValue(obj, "sdkbox.IAP"); 这个函数里面的root = ret.toObject(); assert(isObject());`