【问题标题】:building an existing react native application issue (cocoapods)构建现有的反应原生应用程序问题(cocoapods)
【发布时间】:2020-07-18 00:16:53
【问题描述】:

我正在尝试构建一个反应原生应用程序。我遇到了以下问题:

我正在使用现有的 react native 项目

Could not find cocoapods-core-1.8.4 in any of the sources
Run `bundle install` to install missing gems.
Could not find cocoapods-core-1.8.4 in any of the sources
Run `bundle install` to install missing gems.

sh文件是什么代码:

npm install

cd ios
bundle exec pod repo update
bundle exec pod install
cd ..

我已经卸载并重新安装了 cocoapods

我还能做什么?

【问题讨论】:

  • 也许尝试安装最新的 cocoapods 版本..?
  • 谢谢,我太习惯 conda,但我安装的是特定版本

标签: ios macos react-native mobile cocoapods


【解决方案1】:

正如错误评论所说:

运行bundle install

您正在使用bundler,您需要在运行任何bundle exec 命令之前安装 ruby​​ 依赖项。

【讨论】:

    猜你喜欢
    • 2018-05-29
    • 1970-01-01
    • 1970-01-01
    • 2021-04-02
    • 1970-01-01
    • 2018-06-05
    • 1970-01-01
    • 2019-07-11
    • 2022-11-11
    相关资源
    最近更新 更多