dotnet-maui-check icon indicating copy to clipboard operation
dotnet-maui-check copied to clipboard

zsh: killed maui-check on Apple M2

Open Mittchel opened this issue 1 year ago • 29 comments

Hi,

Just got my new macbook M2 and tried to install Maui. Followed the steps with the global install and the export path, but in the session I get: zsh: killed maui-check

I tried everything in: but it still doesn't seem to work.

Installed .net sdks: 6.0.411 [/usr/local/share/dotnet/sdk] 7.0.305 [/usr/local/share/dotnet/sdk]

Mittchel avatar Jul 01 '23 21:07 Mittchel

Exact same issue here. Tried using x64 and arm64 versions of runtime, all failed...

Also using zsh. Also on a brand new M2 Macbook.

jeffjohnson avatar Jul 03 '23 02:07 jeffjohnson

Same here

xNarkon avatar Jul 06 '23 14:07 xNarkon

Same here. It's just an immediate "killed"

FullofQuarks avatar Jul 11 '23 16:07 FullofQuarks

+1 same for me

prosconi avatar Jul 15 '23 15:07 prosconi

Same here

diegohauptman avatar Jul 19 '23 16:07 diegohauptman

+1 Same here.

thomaskaelin avatar Jul 27 '23 06:07 thomaskaelin

Same here :'(

hexiy avatar Jul 29 '23 23:07 hexiy

Same.

siennathesane avatar Aug 01 '23 22:08 siennathesane

I had this.

I installed versions 6, 7, and 6 Preview of the arm64 SDKs.

I uninstalled them and replaced them with the x64 versions - this fixed the issue.

andrewgunn avatar Aug 16 '23 18:08 andrewgunn

Same issue

dabaus avatar Aug 18 '23 08:08 dabaus

same issue

maurobernal avatar Aug 21 '23 21:08 maurobernal

I installed versions 6, 7, and 6 Preview of the arm64 SDKs.

I uninstalled them and replaced them with the x64 versions - this fixed the issue.

Care to share the process with someone whose last time worked with .NET when it was not "CORE" yet, and MVC was still on version 4? :)

andreasciamanna avatar Aug 29 '23 14:08 andreasciamanna

This happens on an M1 Mac as well. Killed: 9 in bash.

Can I just assume this is another abandoned project on GitHub?

ghost avatar Sep 10 '23 05:09 ghost

需要换成X64架构的.NET框架,就可以解决zsh Killed问题,但是需要注意X64 架构的安装包需要手动配置全局环境。

MrLiu0517 avatar Oct 31 '23 13:10 MrLiu0517

Same issue here, seems to be related to dotnet itself?

yankun avatar Dec 06 '23 08:12 yankun

Same here (with M3 Max and .NET SDK 8.0.100)

metalium84 avatar Dec 13 '23 07:12 metalium84

+1

sathyarajshetigar avatar Dec 14 '23 17:12 sathyarajshetigar

Same issue here.

DavesNotHere-Man avatar Dec 22 '23 05:12 DavesNotHere-Man

Same here (with M3 Pro and .NET SDK 8.0.100).

eszterhorvath avatar Dec 28 '23 15:12 eszterhorvath

same issue here

elias-ik avatar Dec 29 '23 17:12 elias-ik

Workaround until its fixed: (run manually)

  1. Clone the Repo
  2. cd ... into the repo
  3. dotnet run

elias-ik avatar Dec 29 '23 17:12 elias-ik

+1

shayneoneill avatar Jan 10 '24 02:01 shayneoneill

same.

josephgu41 avatar Jan 14 '24 13:01 josephgu41

Same here

AntM90 avatar Jan 15 '24 15:01 AntM90

+1

Zve avatar Jan 21 '24 10:01 Zve

+1 (M1 Macbook Air)

gze1206 avatar Jan 23 '24 14:01 gze1206

+1

azegallo avatar Jan 26 '24 15:01 azegallo

Update: This project seems to be dead. Follow https://khalidabuhakmeh.com/dotnet-maui-development-environment-set-up-walkthrough instead.

Original post below: Here’s a workaround.

Prerequisites: Have .NET 7 installed. .NET 8 must NOT be installed.

  1. git clone https://github.com/Redth/dotnet-maui-check.git
  2. edit MauiCheck/MauiCheck.csproj, changing TargetFrameworks to net7.0: <TargetFrameworks>net7.0</TargetFrameworks>
  3. Apply this fix, changing type of PackageSources in MauiCheck/Manifest/DotNetSdk.cs to string[]
  4. cd dotnet-maui-check/MauiCheck
  5. dotnet run -p:PackageVersion=2.0.0

But, even with this, you’ll most likely get an error installing workloads. You can try fixing that using dotnet workload install maui. If that doesn’t help, I recommend doing a manual install of all the tools. Unfortunately, this project seems to be a dead anyway.

Also, please stop these “+1” or “same issue here” comments. They only add noise, are completely useless, and I bet annoy the maintainer + everyone else here with useless notifications. Just upvote the original post instead.

jankalfus avatar Jan 28 '24 06:01 jankalfus

+1

mbjarland avatar Apr 09 '24 08:04 mbjarland