使用unitySDk发布到iOS打包失败Undefined symbols for architecture arm64

使用unitySDk发布到iOS打包失败(unity版本2019.4.24,SDK版本3.4.6)具体报错如下:
Undefined symbols for architecture arm64:

“agora::rtc::IRtcEngine::release(bool)”, referenced from:

  agora::unity::CAgoraSDKObject::deleteEngine() in libagoraSdkCWrapper.a(AgoraSDKObject-F8EEF56A8496277E.o)

“_createAgoraRtcEngine”, referenced from:

  agora::unity::CAgoraSDKObject::createEngine(char const*) in libagoraSdkCWrapper.a(AgoraSDKObject-F8EEF56A8496277E.o)

  agora::unity::CAgoraSDKObject::createEngine2(char const*, unsigned int, char const*, int, int) in libagoraSdkCWrapper.a(AgoraSDKObject-F8EEF56A8496277E.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

这是一个在arm64架构下,找不到定义的错误
你可以参考一下 Undefined symbols for architecture arm64… - 简书 (jianshu.com)