cordova-plugin-baidumaplocation icon indicating copy to clipboard operation
cordova-plugin-baidumaplocation copied to clipboard

请求帮助,IOS build 报错

Open yingkong87 opened this issue 6 years ago • 3 comments

您好,我在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 avatar Jul 12 '18 01:07 yingkong87

@yingkong87 我也遇到这个问题,你是怎么解决的?

HZYou avatar Mar 27 '19 13:03 HZYou

通过ionic cordova plugin add https://github.com/aruis/cordova-plugin-baidumaplocation.git --variable ANDROID_KEY="your-key" --variable IOS_KEY="your-key" --save 可以解决这个问题

HZYou avatar Mar 28 '19 05:03 HZYou

@HZYou 通过ionic cordova plugin add https://github.com/aruis/cordova-plugin-baidumaplocation.git --variable ANDROID_KEY="your-key" --variable IOS_KEY="your-key" --save 可以解决这个问题

这样会安装失败,但是我有科学上网

wxingheng avatar Oct 11 '19 11:10 wxingheng