在pod install AVOSCloud 框架后,编译运行报一下错误:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_AVAnalytics", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_AVOSCloud", 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 进来的框架,需要设置路径:最后参考
https://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64得到解决
方便复制:$(inherited)
网友评论