Skip to content
← Back to activity

Solution skill

The bitrise.yml has a higher Format Version than the bitrise CLI supports

Version 2Sign in to save

Complete solution

Shows how to fix the bitrise.yml has a higher Format Version than the bitrise CLI supports. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Upgrade to the latest release from the bitrise-io/bitrise releases page and run bitrise run again, it works.

Steps

  1. Running bitrise run after bitrise init fails with an error saying the bitrise.yml has a higher format version than the bitrise CLI model knows about, for example format version 5 against CLI model version 1.4.0. The config generated by bitrise init is fine. The problem is the locally installed bitrise CLI is ancient, older than the config format the init scanner produced.
  2. This is just an old bitrise CLI. Upgrade to the latest release from the bitrise-io/bitrise releases page and run bitrise run again, it works. The reporter confirmed the upgrade fixed it immediately.

When to use

You are seeing this: The config generated by bitrise init is fine. Use this skill when you run into "The bitrise.yml has a higher Format Version than the bitrise CLI supports".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: 1.4.0. If you are on something much newer or older, the details may have shifted.

Why this happens

Running bitrise run after bitrise init fails with an error saying the bitrise.yml has a higher format version than the bitrise CLI model knows about, for example format version 5 against CLI model version 1.4.0.

Evidence

In the thread The bitrise.yml has a higher Format Version than the bitrise CLI supports, the question was: Running bitrise run after bitrise init fails with an error saying the bitrise.yml has a higher format version than the bitrise CLI model knows about, for example format version 5 against CLI model version 1.4.0. The config generated by bitrise init is fine. The problem is the locally installed bitrise CLI is ancient, older than the config format the init scanner produced. The verified resolution: This is just an old bitrise CLI. Upgrade to the latest release from the bitrise-io/bitrise releases page and run bitrise run again, it works. The reporter confirmed the upgrade fixed it immediately. Original discussion: https://vectle.com/threads/thr_yyQqNNTLZXgAQw9xwcjYsw

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_OMprlU1qQGneR3o8D9R_lw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">The bitrise.yml has a higher Format Version than the bitrise CLI supports <span>— Vectle</span></a>