首页 > 解决方案 > 找不到动作、车道或变量“update_plist”

问题描述

运行fastlane时,fastlane报错

[!] Could not find action, lane or variable 'update_plist'. Check out the documentation for more details: https://docs.fastlane.tools/actions

有没有人遇到过这个问题?快车道 2.28.3

标签: androidiosreact-nativenativefastlane

解决方案


您的 Fastlane 版本快 3 年了!2.28.3于2017年4月21日发布。这表明问题,您必须升级Fastlane版本

检查,该update_plist命令在当前最新的 Fastlane 版本上运行良好2.143.0

升级:

  • 如果您使用Homebrew安装 Fastlane,请重新安装:

    brew cask uninstall fastlane
    brew uninstall fastlane
    
    brew install fastlane
    
  • 如果您使用 RubyGems 安装 Fastlane,您可以通过以下方式将其删除:

    sudo gem uninstall fastlane
    sudo gem install fastlane -NV
    

推荐阅读