Open LiuC520 opened 8 years ago
你是在模拟器上运行的吧?配置一下Build Settings的Architectures
实在真机上运行的,我对比了下别人的工程,发现我少了lib下面的那一堆framework文件,把它们添加到库里面就好了,非常感谢哦,但是现在还有个小问题,我的真机上地图没法加载出来,我明天再试下
原始邮件 发件人:Tang Yangjiannotifications@github.com 收件人:lovebing/react-native-baidu-mapreact-native-baidu-map@noreply.github.com 抄送:LiuC520674668211@qq.com; Authorauthor@noreply.github.com 发送时间:2016年10月13日(周四) 21:05 主题:Re: [lovebing/react-native-baidu-map] unexpected file type'wrapper.plug-in' in Frameworks Libraries build phase (#18)
你是在模拟器上运行的吧?配置一下Build Settings的Architectures — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
我同样加载不出地图 连网格都没有 解决了吗 好纠结
@zhengcola api key设置好了吗?
@lovebing 我获取当前坐标getCurrentPosition和reverseGeoCode获取地理信息都能正常获取,就是MapView什么都没有 一片空白的 我用的是安卓真机运行的
@zhengcola 设置一下 MapView的宽高看一下
@zhengcola 你的问题解决了吗 我也遇到相同的问题
warning: skipping file '/Users/vittorio/Desktop/kaifa/rn/rn_demo/react-native-jifenmao/node_modules/react-native-baidu-map/ios/lib/BaiduMapAPI_Map.framework/Resources/mapapi.bundle' (unexpected file type 'wrapper.plug-in' in Frameworks & Libraries build phase) 跳过了这个文件,然后出现了11个错误 Undefined symbols for architecture x86_64: "_BMKConvertBaiduCoorFrom", referenced from: -[BaiduMapModule getBaiduCoor:lng:] in libRCTBaiduMap.a(BaiduMapModule.o) "_BMKCoorDictionaryDecode", referenced from: -[BaiduMapModule getBaiduCoor:lng:] in libRCTBaiduMap.a(BaiduMapModule.o) "_OBJCCLASS$_BMKGeoCodeSearch", referenced from: objc-class-ref in libRCTBaiduMap.a(BaiduMapModule.o) "_OBJCCLASS$_BMKGeoCodeSearchOption", referenced from: objc-class-ref in libRCTBaiduMap.a(BaiduMapModule.o) "_OBJCCLASS$_BMKMapManager", referenced from: objc-class-ref in libRCTBaiduMap.a(RCTBaiduMapViewManager.o) "_OBJCCLASS$_BMKMapView", referenced from: _OBJCCLASS$_RCTBaiduMapView in libRCTBaiduMap.a(RCTBaiduMapView.o) "_OBJCCLASS$_BMKPinAnnotationView", referenced from: objc-class-ref in libRCTBaiduMap.a(RCTBaiduMapViewManager.o) "_OBJCCLASS$_BMKPointAnnotation", referenced from: objc-class-ref in libRCTBaiduMap.a(BaiduMapModule.o) objc-class-ref in libRCTBaiduMap.a(RCTBaiduMapView.o) objc-class-ref in libRCTBaiduMap.a(RCTBaiduMapViewManager.o) "_OBJCCLASS$_BMKReverseGeoCodeOption", referenced from: objc-class-ref in libRCTBaiduMap.a(BaiduMapModule.o) "_OBJCMETACLASS$_BMKMapView", referenced from: _OBJCMETACLASS$_RCTBaiduMapView in libRCTBaiduMap.a(RCTBaiduMapView.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)