Using a linux_x2 build machine, the 'Shorebuild build' phase of the CodeMagic yaml file was failing to find the shorebird command on the path. I checked the output of the install script and noticed that the suggested path was different from the documentation.
Switched to mac_mini_m1 and it worked fine.
Updated the script to check OS and set path accordingly. Added the # Test at the bottom to catch errors in the path early rather than waiting until the build phase for it to fail.
Status
READY
Description
Using a linux_x2 build machine, the 'Shorebuild build' phase of the CodeMagic yaml file was failing to find the
shorebird
command on the path. I checked the output of the install script and noticed that the suggested path was different from the documentation.Switched to mac_mini_m1 and it worked fine.
Updated the script to check OS and set path accordingly. Added the # Test at the bottom to catch errors in the path early rather than waiting until the build phase for it to fail.
This script modification has been tested on: