类似下面的错误大致意思是在 arm64 架构下面找不到 RCIM 这个类:
Undefined symbols for architecture arm64:
“_OBJC_CLASS_$_RCIM”, referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
问题的原因是 pod 和 xcode 的兼容出现了点问题,解决方案是 选中项目
Build Setting → Other Linker Flags 在这里添加一个 $(inherited)
详细请参考 https://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64