当我使用这个命令来运行fastlane:
bundle exec fastlane beta
显示错误:
~/Documents/GitHub/cruise-open/ios on main! ⌚ 14:59:47
$ bundle exec fastlane beta ‹ruby-3.0.0›
Could not find gem 'xcode-install' in any of the gem sources listed in your Gemfile or in gems cached in vendor/cache.
Run `bundle install` to install missing gems.
(base)
然后我安装xcode-install
如下:
$ gem install xcode-install ‹ruby-3.0.0›
Fetching xcode-install-2.6.8.gem
Successfully installed xcode-install-2.6.8
Parsing documentation for xcode-install-2.6.8
Installing ri documentation for xcode-install-2.6.8
Done installing documentation for xcode-install after 0 seconds
1 gem installed
(base)
仍然无法修复此问题。我应该如何修复它?
1条答案
按热度按时间i7uq4tfw1#
在您的宝石文件中,您需要添加以下行:
就在
再次运行快车道命令。