下载了GizDataAccess并导入Single View工程,在定义 GizDataAccessLogin或者GizDataAccessSource时,都会编译失败, 编译提示如下,其中的armv7会根据目标不同变为i386,arm64等:
Undefined symbols for architecture armv7: "_OBJC_CLASS_$_AFHTTPRequestOperationManager", referenced from: objc-class-ref in GizDataAccess(GizDataAccessNetwork.o) ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
调用的函数如下:
GizDataAccessSource* gdaSource = [[GizDataAccessSource alloc] initWithDelegate:self]; GizDataAccessLogin* gdaLogin = [[GizDataAccessLogin alloc] initWithDelegate:self];
|