[英]React-native google maps does not work?
我在react-native cli上安装GoogleMaps。 我为什么会收到此错误?
**建立失败**
The following build commands failed:
CompileC /Volumes/DATA/React\ Native/Redux-React-Native/reduxreactnative/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTDevSettings.o /Volumes/DATA/React\ Native/Redux-React-Native/reduxreactnative/node_modules/react-native/React/Modules/RCTDevSettings.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/reduxreactnative.app
Launching org.reactjs.native.example.reduxreactnative
org.reactjs.native.example.reduxreactnative: 23409
我通过这样做解决了
疑难解答如果您遇到空白地图问题(#118,#176,#684),请尝试以下几行:
在iOS上:如果您错误地运行了“反应本地链接”:
delete node_modules
delete ios/Pods
delete ios/Podfile.lock
open Xcode and delete AIRMaps.xcodeproj from Libraries if it exists
in Build Phases -> Link Binary With Libraries delete libAIRMaps.a if it exists
delete ios/build folder
start again with the installation steps
If you use Xcode with version less than 9 you may get use of undeclared identifier 'MKMapTypeMutedStandard' or Entry, ":CFBundleIdentifier", Does Not Exist errors. In this case you have to update your Xcode.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.