Yarn is not installed on the Xcode 8.2 stack

Description of the issue

Our Fastlane build is failing when it attempts to make Yarn commands. Looking at https://github.com/bitrise-io/bitrise.io/blob/master/system_reports/osx-xcode-8.2.x.log, it appears that Yarn is expected to be installed on the stack, but is not.

1 Like

Hi @QuinnStephens,

That’s not a “bug”. We don’t install tools or update tool versions on previous stack versions. The Xcode 8.2 stack will have the same tools & versions as long as it’s available.

You can read more about the stack types and update policy at:

To install a tool which is not preinstalled, you can use e.g. a Script step and a package manager like brew. Related docs: Installing tools during a build - Bitrise Docs

If you have any questions just let us know!

The related line is: https://github.com/bitrise-io/bitrise.io/blob/master/system_reports/osx-xcode-8.2.x.log#L20

That’s not a typo or failed report. The report simply states that YARN is not installed. We run the same report generator script on every macOS stack, that’s why YARN is listed there, but as you can see in the report it is not installed (and it is expected to not to be installed).