添加libBaiduMobStat.a后报错是什么原因?


添加libBaiduMobStat.a后报错是什么原因?

Q:在添加libBaiduMobStat.a后,经常报这个错误: “OBJC_CLASS$_BaiduMobStat”, 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) ?

A:请确认您使用的的libBaiduMobStat.a是ios_api/universal-bin内的版本,此版本结合了实机和模拟器。