使用新的 iOS 7 Beta 并下载最新版本的 AFNetworking,我转到 File>Add Files to Project,并传入目录 AFNetworking.framework。现在我收到了大量的链接器错误。为了进行完整性检查,我将提交历史回滚到 iOS 6,并且所有内容都成功编译。这是日志:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AFHTTPClient", referenced from:
_OBJC_CLASS_$_CloudGlyphAPIClient in CloudGlyphAPIClient.o
"_OBJC_CLASS_$_AFJSONRequestOperation", referenced from:
objc-class-ref in CloudGlyphAPIClient.o
"_OBJC_METACLASS_$_AFHTTPClient", referenced from:
_OBJC_METACLASS_$_CloudGlyphAPIClient in CloudGlyphAPIClient.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我是否需要等待 AFNetworking 与 iOS 的下一个版本保持同步,或者这是架构问题?
谢谢