|
楼主 您好,我使用cocopods导入的SDK,导入后不报错,使用文件后,编译报错.
如下 :
用的coocpods集成的高德定位的SDK,有个问题,当我在AppDelegate 导入头文件的时候,系统不报错,但是当我是用高德代码: [AMapLocationServices sharedServices].apiKey = @"xxxxxxxxxx"; 这句话的时候,也不报错。但是编译的时候报错。
错误为:Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AMapServices", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请问怎么回事呢? |
|