game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

macOS runners are now failing with "Unity Hub: Bad CPU type in executable" #73

Closed GabLeRoux closed 1 week ago

GabLeRoux commented 3 weeks ago

After changes in #72 some macOS related jobs are now failing with this:

font-mansalva                            vcam
font-manuale                             warcraft-logs-uploader
font-maple                               wins

You have 4 outdated formulae installed.

==> Downloading https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.dmg
######################################################################### 100.0%
Warning: No checksum defined for cask 'unity-hub', skipping verification.
==> Installing Cask unity-hub
==> Moving App 'Unity Hub.app' to '/Applications/Unity Hub.app'
🍺  unity-hub was successfully installed!
Unity Hub installed successfully.
npm WARN exec The following package was not found and will be installed: unity-changeset@2.1.2
++ '/Applications/Unity Hub.app/Contents/MacOS/Unity Hub' -- --headless install --version 2022.3.33f1 --changeset b2c853adf198 --module mac-il2cpp --childModules
/bin/bash: line 65: /Applications/Unity Hub.app/Contents/MacOS/Unity Hub: Bad CPU type in executable
++ set +x
Could not install the Unity Editor.
Please try again or open an issue.
Something went wrong.
Please try again or open an issue.

Exited with code exit status 1

Any help would be appreciated :)

HashbangGames commented 2 weeks ago

i have fixed this! will submit a PR.