MacOS版集成问题

我有一个Cocos Creator 项目要发MacOS版本,在加入AgoraMacSDK后无法编译通过,链接的时候提示错误:
Undefined symbols for architecture x86_64:
“agora::rtc::IRtcEngine::release(bool)”, referenced from:
agora::common::RtcEngineBridge::release(bool, bool) in RtcEngineBridge.o
“_createAgoraRtcEngine”, referenced from:
agora::common::RtcEngineBridge::RtcEngineBridge() in RtcEngineBridge.o
agora::common::RtcEngineBridge::initialize(char const*, void*, unsigned int) in RtcEngineBridge.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这个项目可以正常编译iOS版本,我是通过Podfile安装AgoraSDK的,Podfile内容如下:
use_frameworks!
platform :ios, ‘9.0’
target ‘GinRummy-mobile’ do
pod ‘AgoraAudio_iOS’,‘3.4.6’
end

target ‘GinRummy-desktop’ do
platform :macos, ‘10.10’
pod ‘AgoraRtcEngine_macOS’
end

我下载MacOS的官方sample项目,可以正常编译运行Mac版,但Mac(Rosetta)也无法正常编译,提示错误是:
Agora_Native_SDK_for_Mac_VOICE/samples/API-Example/APIExample.xcodeproj The linked framework ‘Pods_APIExample.framework’ is missing one or more architectures required by this target: x86_64.

我猜测会不会是安装的Mac版AgoraSDK里没有包含x86_64的类库,那该如何下载呢?我的MacOS芯片是M1,请问有人遇到类似的问题了吗?谢谢。

看到已经提工单了,我们工单沟通吧