Freeing up storage space on build machines

If you need additional disk space, you can always delete tools and resources that you do not use. You just need to use a Script Step at the start of your build.

  1. Check your stack's System Report on GitHub.

  2. Find the tools you don't need in your build.

  3. Open your app on Bitrise.

  4. Go to the Workflow tab.

  5. Select a Workflow from the WORKFLOW dropdown menu.

    Installing any additional tools
  6. Add a Script Step to the beginning of your Workflow.

  7. In the Script content input of the Step, add the necessary commands to uninstall the tools.

Example 1. Uninstalling unneeded tools

If your app doesn't need Android SDK tools, you can remove them with the following commands in your Script Step:

sudo rm -rf ~/Library/Developer/Xamarin/android-sdk-macosx
sudo rm -rf /usr/local/share/android-sdk 
sudo rm -rf /opt/android-ndk

You can delete iOS simulators that you don't use:

sudo rm -rf ~/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\\ 10.3.simruntime/