使用友盟组件报错

添加了之后,发现报错:

Undefined symbols for architecture armv7:

  "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:

      objc-class-ref in TencentOpenAPI(MTA4QCHelper.o)

  "___gxx_personality_sj0", referenced from:

      -[TXAppidConvert InitWithAppId:] in TencentOpenAPI(AppidConvert.o)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

需要添加两个库, 一个是CoreTelephony.framework,另外一个是libstdc++.dylib

相关推荐