导入支付宝接口时经常出现这样的小错误"OBJC_CLASS$_UTDevice"
在支付宝SDK导入后,会报下面的错误,请问怎么解决呀?
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_UTDevice", referenced from:
objc-class-ref in AlipaySDK
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
今天发现了这个错误,搞了好久解决不了.后来发现只要把支付宝SDK带的那个demo的AlipaySDK.bundle,和AlipaySDK.framework 把之前的那两个文件换掉就可以了,编译就不会出错了.
转自 : http://blog.csdn.net/wtt692732757/article/details/50966893