【问题标题】:There are multiple dependencies with different sources for `react-native-google-maps` in `Podfile`:`Podfile` 中的 `react-native-google-maps` 有多个不同来源的依赖项:
【发布时间】:2022-10-31 15:54:41
【问题描述】:

尝试在此 repo https://github.com/react-native-maps/react-native-maps 的示例项目中运行 yarn bootstrap 并且我收到以下错误

[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
[!] There are multiple dependencies with different sources for `react-native-google-maps` in `Podfile`:

- react-native-google-maps (from `../..`)
- react-native-google-maps (from `../../`)

【问题讨论】:

    标签: ios cocoapods


    【解决方案1】:

    改变这个

    rn_maps_path = '../../'
     pod 'react-native-google-maps', :path => rn_maps_path
    

    对此

    rn_maps_path = '../..'
     pod 'react-native-google-maps', :path => rn_maps_path
    

    【讨论】:

      猜你喜欢
      • 2021-11-24
      • 2016-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多