找到NO + [RCTConvert MKCoordinateRegion:]函数

问题描述 投票:0回答:1

尝试访问屏幕(使用react-native-navigation)时出现以下错误,其中我正在使用<MapView>;

项目构建阶段成功通过,所有其他屏幕和功能都正常工作。同样的屏幕(MapView屏幕)在Android上运行良好。我没有使用cocoa-pods,只是做了manual linking

不幸的是,在完成react-native-maps实现后,IOS上发生以下错误:

错误:

NO + [RCTConvert MKCoordinateRegion:] function found.

我的Mac:

MAC: macOS High Sierra v 10.13.6,

我的Xcode:

XCode Version: 9.4.1,

依赖关系:

"dependencies": {
        "react": "16.6.3",
        "react-native": "0.57.8",
        "react-native-maps": "^0.23.0",
        "react-native-navigation": "^2.17.0",
        "react-native-svg": "^9.4.0"
      },

enter image description here

xcode react-native react-native-ios react-native-maps
1个回答
0
投票

所以我发现重新链接是这里的解决方案,希望这有助于某人:

react-native unlink react-native-maps

react-native link react-native-maps
© www.soinside.com 2019 - 2024. All rights reserved.