使用友盟元件報錯

jiufreeman發表於2020-04-07

新增了之後,發現報錯:

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

相關文章