cordova-plugin-baidumaplocation
cordova-plugin-baidumaplocation copied to clipboard
请求帮助,IOS build 报错
您好,我在ios中引入该插件后,build工程提示下面的错误,没有引入插件之前是正常的 请问该如何解决?多谢
ator/lczOA.app/lczOA Undefined symbols for architecture x86_64: "std::__throw_length_error(char const*)", referenced from: std::vector<_baidu_vi::vi_map::CBGLProgram*, std::allocator<_baidu_vi::vi_map::CBGLProgram*> >::reserve(unsigned long) in BaiduMapAPI_Base(BGLProgramCache.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
@yingkong87 我也遇到这个问题,你是怎么解决的?
通过ionic cordova plugin add https://github.com/aruis/cordova-plugin-baidumaplocation.git --variable ANDROID_KEY="your-key" --variable IOS_KEY="your-key" --save
可以解决这个问题
@HZYou 通过ionic cordova plugin add https://github.com/aruis/cordova-plugin-baidumaplocation.git --variable ANDROID_KEY="your-key" --variable IOS_KEY="your-key" --save 可以解决这个问题
这样会安装失败,但是我有科学上网