X tool on m1 pro chip tool exited

Hi, i’m getting an error while running the x tool on macos monterey with a m1 pro chip.

[1] 13298 killed x

i have the following sdk installed

3.1.414 [/usr/local/share/dotnet/sdk]
5.0.402 [/usr/local/share/dotnet/sdk]
6.0.100-rc.2.21505.57 [/usr/local/share/dotnet/sdk] (arm version)

Unfortunately we’ve no way to build or test this on any m1, in the meantime you should have better luck with the older node @servicestack/cli utils that also let you add/update references:

$ npm install -g @servicestack/cli

I think i’m facing this issue https://github.com/dotnet/efcore/issues/25927
Hopefully will be fixed on RTM

2 Likes

Sharing my experience here on m1 mac.
Installing .net 6 basically deleted my existing .net 5 install on MacOS.
After install .net 6 rtm for both x64 and arm, I had to try to install 5.0.402 multiple times otherwise trying only did nothing, then .net got corrupted and i had to ran the .net 6 arm installer again.
Now everything seem to work ok, but to install the x tool which require .net 5, you need to run the install command as follow.

dotnet tool install -g -a x64 x

If you dont specify the arch it will try to look for a .net 5 arm runtime which doesn’t exist.

1 Like

Nice, thx for sharing the info, will add it to the docs.

Currently waiting to see what new iMac Pro’s are like before joining the M1 party, should be able to improve support after that.

1 Like