处理方法:一个文件改为.mm即可
报错:
symbols for architecture armv7:
"___cxa_pure_virtual", referenced from:
vtable for _baidu_vi::CVHttpRequestBase in libbaidumapapi.a(VHttpRequestBase.o)
"vtable for __cxxabiv1::__si_class_type_info", referenced from:
typeinfo for CVNetStateObservable in libbaidumapapi.a(VNetStateObservable.o)
typeinfo for _baidu_framework::CVDataStorage in libbaidumapapi.a(DataStorage.o)
typeinfo for _baidu_framework::IVDataStorageInterface in libbaidumapapi.a(DataStorage.o)
typeinfo for _baidu_framework::CPermissionCheck in libbaidumapapi.a(PermissionCheck.o)
typeinfo for _baidu_framework::IVPermCheckInterface in libbaidumapapi.a(PermissionCheck.o)
typeinfo for _baidu_framework::IVHttpClientPoolInterface in libbaidumapapi.a(HttpClientPool.o)
typeinfo for _baidu_framework::CVCommonMemCacheEngine in libbaidumapapi.a(CommonMemCacheEngine.o)
...