mac平台
1.先cc.textureCache.addImage(path,cb,target);加载纹理
2.然后cc.textureCache.removeAllTextures();移除纹理
3.再次用cc.textureCache.addImage加载
4.最后获取精灵帧
var frame = new cc.SpriteFrame(texture);
报错
log
jsb ERROR: File /Users/dev-wanglingbo/Documents/CreatorProject/pro/test_1/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_auto.cpp: Line: 515, Function: js_cocos2dx_Texture2D_getContentSize
js_cocos2dx_Texture2D_getContentSize : Invalid Native Object