built for archive which is not the architecture being linked (arm64): /Users/xuweihao/chifeng/mj/publish/ios/libcocos2d iOS.a
Undefined symbols for architecture arm64:
“_lua_pushnumber”, referenced from:
OCLuaHelperForCpp::OnUploadFile(gcloud_voice::GCloudVoiceCompleteCode, char const*, char const*) in OCLuaHelperForCpp.o
“cocos2d::Scheduler::unschedule(void (cocos2d::Ref::)(float), cocos2d::Ref)”, referenced from:
OCLuaHelperForCpp::closeRealTimeVoice() in OCLuaHelperForCpp.o
OCLuaHelperForCpp::OnApplyMessageKey(gcloud_voice::GCloudVoiceCompleteCode) in OCLuaHelperForCpp.o
OCLuaHelperForCpp::OnUploadFile(gcloud_voice::GCloudVoiceCompleteCode, char const*, char const*) in OCLuaHelperForCpp.o
OCLuaHelperForCpp::OnDownloadFile(gcloud_voice::GCloudVoiceCompleteCode, char const*, char const*) in OCLuaHelperForCpp.o
OCLuaHelperForCpp::OnPlayRecordedFile(gcloud_voice::GCloudVoiceCompleteCode, char const*) in OCLuaHelperForCpp.o
“_lua_getfield”, referenced from:
OCLuaHelperForCpp::setPlayerInfo() in OCLuaHelperForCpp.o
OCLuaHelperForCpp::JoinRoomBtn_Click(int) in OCLuaHelperForCpp.o
OCLuaHelperForCpp::OnUploadFile(gcloud_voice::GCloudVoiceCompleteCode, char const*, char const*) in OCLuaHelperForCpp.o
“cocos2d::GLViewImpl::_pixelFormat”, referenced from:
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
“cocos2d::Director::setOpenGLView(cocos2d::GLView*)”, referenced from:
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
“cocos2d::Application::run()”, referenced from:
-[AppController application:didFinishLaunchingWithOptions:] in AppController.o
“_tolua_pushstring”, referenced from:
lua_cocos2dx_createDownloadDir(lua_State*) in lua_assetsmanager_test_sample.o
“cocos2d::Sprite::getDescription() const”, referenced from:
vtable for WPNetSprite in WPNetSprite.o
请问这个是什么问题之前跑脚本还是可以打包的 。。跑了一次cocos run -m release 就突然一直报这个错了