小编Cha*_*hok的帖子

启动新的 React Native 项目时安装 CocoaPods 依赖项时出错

我尝试创建新的 React Native 项目,但由于发现多个 podfiles 错误而失败。

error: warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Choosing ios/Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md
Run Code Online (Sandbox Code Playgroud)

javascript react-native

19
推荐指数
3
解决办法
1万
查看次数

标签 统计

javascript ×1

react-native ×1