美文网首页
"_OBJC_CLASS_$_AFJSONRequestSeri

"_OBJC_CLASS_$_AFJSONRequestSeri

作者: miG92 | 来源:发表于2019-12-23 10:36 被阅读0次

Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from:

      objc-class-ref in RequestTool.o

  "_OBJC_CLASS_$_AFHTTPSessionManager", referenced from:

      objc-class-ref in RequestTool.o

  "_OBJC_METACLASS_$_AFJSONResponseSerializer", referenced from:

      _OBJC_METACLASS_$_JSONResponseSerializerWithData in JSONResponseSerializerWithData.o

  "_OBJC_CLASS_$_AFJSONResponseSerializer", referenced from:

      _OBJC_CLASS_$_JSONResponseSerializerWithData in JSONResponseSerializerWithData.o

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

用CocoaPods导入的库如果报以上错误,可尝试以下步骤:Build Setting->Linking->Other Linker Flags,添加$(inherited)。

相关文章

网友评论

      本文标题:"_OBJC_CLASS_$_AFJSONRequestSeri

      本文链接:https://www.haomeiwen.com/subject/cxhznctx.html