ios - React Native Pod 安装失败
问题描述
pod install 失败,下面的 FrozenError 和 BadURIError 似乎是原因:
CocoaPodsError: Command `pod install` failed.
└─ Cause: pod exited with non-zero code: 1
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby
stderr: '/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /Users/cedricnicolas/Downloads in PATH, mode 040707\n' +
'\u001b[33m\n' +
"[!] NPM package '@react-native-firebase/auth' depends on '@react-native-firebase/app' v8.4.3 but found v8.4.1, this might cause build issues or runtime crashes.\u001b[0m\n" +
'\u001b[33m\n' +
"[!] NPM package '@react-native-firebase/storage' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.1, this might cause build issues or runtime crashes.\u001b[0m\n" +
"/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': can't modify frozen String (FrozenError)\n" +
"\tfrom /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:34:in `report'\n" +
"
"/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/uri/generic.rb:1490:in `find_proxy': relative URI: /Users/cedricnicolas/Documents/DizzitupSource.nosync/dizzitup/client/dizzitapp/node_modules/react-native/third-party-podspecs/Folly.podspec (URI::BadURIError)\n" +
我尝试了很多东西,我的 RC 版本是:react-native-cli: 2.0.1 react-native: 0.66.3
有什么线索吗?
解决方案
推荐阅读
- azure - 为什么 Azure Web 应用程序防火墙不支持 IPv6 IP 地址空间?
- browser - 有没有办法读取网络浏览器控制台输出?
- c# - 编译器如何处理字符串插值
- javascript - 如何提前停止javascript过滤功能进行优化
- flutter - 如何在 Flutter 包/插件开发中添加资产?
- nsis - 使用 NSIS 重新启动/注销后系统托盘图标不显示
- php - 将 echo 与 printf 一起使用会显示出奇怪的行为。我好奇
- angular - Sass 伪选择器在 Angular 中不起作用
- c - 如何使用带指针的乘法运算符?
- c# - 如何在 C# 中将 Base64 字符串转换为视频