我使用了pod "SinchRTC“,我能够在调试模式下构建和运行该项目。但是现在当我完成这个项目的时候,我得到了一个错误:--

Undefined symbols for architecture arm64:
"___isPlatformVersionAtLeast", referenced from:
-[RTCMTLRenderer setupTexturesForFrame:] in Sinch(libSinch-dist.a-arm64-master.o)
-[RTCMTLVideoView frameRotation] in Sinch(libSinch-dist.a-arm64-master.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)这是否一个框架问题,因为我没有任何解决办法?
我想上传这个版本。你能不能给我一个解决办法。
提前谢谢。
发布于 2020-02-11 06:09:02
确保在项目的构建设置中打开了arm64体系结构。此外,如果您试图对iPhone 5和6(以及其他二进制文件)使用相同的二进制文件,请确保关闭“仅为Active Architecture构建”。
或
尝尝这个
isPlatformVersionAtLeast在iOS SDK 13中,因此需要Xcode 11测试版。我认为您收到了错误,因为您使用的是早期的Xcode版本Xcode 10.3。
https://stackoverflow.com/questions/60124860
复制相似问题