Comments (9)
react-native没导入?
from react-native-baidu-map.
我也出现了这个问题
步骤:
cd demo
yarn install
react-native link
打开xcode运行真机调试
from react-native-baidu-map.
不好使,iOS运行报出
In file included from /Users/apple/Documents/CWSSurveyIOS/ios/CWSSurveyIOS/AppDelegate.m:14:
In file included from /Users/apple/Documents/CWSSurveyIOS/node_modules/react-native-baidu-map/ios/RCTBaiduMap/RCTBaiduMapViewManager.h:12:
/Users/apple/Documents/CWSSurveyIOS/node_modules/react-native-baidu-map/ios/RCTBaiduMap/RCTBaiduMapView.h:13:9: fatal error: 'RCTViewManager.h' file not found
#import "RCTViewManager.h"
修改#import "RCTViewManager.h"为#import <React/RCTViewManager.h>后再次运行,报出
In file included from /Users/apple/Documents/CWSSurveyIOS/ios/CWSSurveyIOS/AppDelegate.m:14:
In file included from /Users/apple/Documents/CWSSurveyIOS/node_modules/react-native-baidu-map/ios/RCTBaiduMap/RCTBaiduMapViewManager.h:12:
/Users/apple/Documents/CWSSurveyIOS/node_modules/react-native-baidu-map/ios/RCTBaiduMap/RCTBaiduMapView.h:14:9: fatal error: 'RCTConvert+CoreLocation.h' file not found
#import "RCTConvert+CoreLocation.h"
from react-native-baidu-map.
根据readme走下来,也遇到了同样的错误:
react-native版本:0.42.0
from react-native-baidu-map.
ios运行不了啊,有人 解决没有
from react-native-baidu-map.
一样的问题
from react-native-baidu-map.
+1
from react-native-baidu-map.
+1
from react-native-baidu-map.
我觉得这个问题可能和 #48 有相关之处,各位可以检查对应的配置项!
from react-native-baidu-map.
Related Issues (20)
- ios 获取定位信息报错
- ios 获取定位报错
- iOS地图无法拖动和缩放
- :react-native-baidu-map:compileDebugAidl
- 新版react-native没有DeviceEventEmitter.once方法 HOT 2
- Polygon Draw not show HOT 1
- APP从后台进入到前台时有时会鉴权失败是什么原因?
- com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
- 隐私合规问题被打回 HOT 3
- 此项目已死 HOT 1
- 能否告知如何禁止app启动就获取手机的android_id?
- andorid百度地图sdk没有同意隐私协议提前初始化了
- http://repo.lovebing.net/ 上了WAF后,Android项目表现不正常
- 我在MapView中编写Overlay之后,应用直接闪退,没有任何提示信息,我的RN版本是0.66.1 HOT 2
- Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
- marker中的icon可以左右上下移动位置吗?现在的点跟连线不在一个位置上
- android机型 HOT 1
- requireNativeComponent: "BaiduMapOverlayInfoWindow" was not found in the UIManager. HOT 1
- A problem occurred configuring project ':react-native-baidu-map'. HOT 1
- 这个百度地图库也没人更新维护了吗? 还有什么可用的百度地图RN的库吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-baidu-map.