ld:找不到框架GoogleMapsCore

时间:2019-02-21 14:15:52

标签: ios google-maps-sdk-ios react-native-maps

我已经按照instructions中的说明手动安装了React Native Maps。

但是Visual Studio Code向我抛出此错误,如下所示:

Visual Studio Code Terminal Error

这是我在Xcode中的iOS项目结构:

iOS Project Structure in Visual Studio Code

iOS Project Structure in Xcode

这是我的package.json文件:

{
  "name": "TrainingApp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "ios": "react-native run-ios",
    "postinstall": "./node_modules/react-native-maps/enable-google-maps './ios/**'",
    "build-android": "cd ./android && ./gradlew app:assembleDebug && ./gradlew installDebug",
    "android": "react-native run-android"
  },
  "dependencies": {
    "react": "16.6.3",
    "react-native": "0.58.3",
    "react-native-maps": "^0.23.0",
    "react-native-navigation": "^2.10.0",
    "react-native-vector-icons": "^6.2.0",
    "react-redux": "^6.0.0",
    "redux": "^4.0.1"
  },
  "devDependencies": {
    "babel-core": "7.0.0-bridge.0",
    "babel-jest": "24.0.0",
    "jest": "24.0.0",
    "metro-react-native-babel-preset": "0.51.1",
    "react-test-renderer": "16.6.3",
    "redux-devtools": "^3.5.0"
  },
  "jest": {
    "preset": "react-native"
  }
}

0 个答案:

没有答案