Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MAMapServices", referenced from: o

今天使用高德地图sdk,按照api文档把地图库加进去,编译报错:

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_MAMapServices", 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)


仔细研究了半天,是由于编译环境导致的 Undefined symbols for architecture x86_64:
之前由于选择了64-bit编译方式,导致编译出错,后来选择第一个,就好了。如果不支持64-bit编译,在5s上面运行会不会产生影响呢??

你可能感兴趣的:(iphone)