以前对于leancloud采用拖文件的方式引入的,改为pod install 之后报这个错误
"_OBJC_CLASS_$_AVOSCloud", referenced from:
这个时候需要检查你的
build settings
里的
Other Linker Flags
里是否包含
$(inherited)
添加之后就ok了
All these 3 errors would be gone by adding $(inherited) to
Header Search Paths
Other Linker Flags
Preprocessor Macros
in Project -> Target -> Build Settings
网友评论