运行 fastlane beta 时遇到以下错误:
Bundler::GemNotFound: Could not find CFPropertyList-3.0.0 in any of the sources
我尝试通过终端安装gem、将其添加到我的gemfile中、更新快车版本...但都没有成功。有什么建议吗?
Bundler::GemNotFound: Could not find CFPropertyList-3.0.0 in any of the sources
我尝试通过终端安装gem、将其添加到我的gemfile中、更新快车版本...但都没有成功。有什么建议吗?
尝试
gem install CFPropertyList
更新:“您没有该文件的写入权限...”
sudo gem install CFPropertyList
更新所有的 gem 包:
sudo gem update --system如果这导致出现一些错误,比如:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted @ rb_sysopen -
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/gem
尝试运行以下命令: sudo gem install -n /usr/local/bin cocoapods
这将消除此错误:Could not find CFPropertyList-3.0.0 in any of the sources
如果您在上传移动应用程序时使用bundle install
出现此类错误,则进入android/ios文件夹并运行以下命令:
bundle install
\curl -sSL https://get.rvm.io | bash
rvm install ruby@latest
并将其设置为默认值 rvm use ruby-3.0.0 --default
gem install cocoapods
pod install