Git Product home page Git Product logo

Comments (5)

lihuiniu avatar lihuiniu commented on July 24, 2024 1

@jonathanpeppers I faced the same issue but for macos:

/usr/local/share/dotnet/sdk/6.0.100-preview.2.21155.3/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(24,5) : error NETSDK1147: The following workload packs were not installed: Microsoft.macOS.Sdk
Unable to create package spec for project.

I installed .net6 preview 4 and maui-check formerly without add maui-check to pathvariable so I could not find maui-check command available for me, then tried to "dotnet tool uninstall -g Redth.Net.Maui.Check" not working,
"dotnet tool update -g Redth.Net.Maui.Check" also not working.

So I removed .net preview 4 and re-install .net6 preview 2 instead, however I got the above exception when load any MacOS Native app.

from maui-samples.

lihuiniu avatar lihuiniu commented on July 24, 2024 1

Fixed by install workload for macos:
sudo dotnet workload install microsoft-macos-sdk-full --skip-manifest-update
reference:
https://github.com/dotnet/maui-samples#dotnet-workload-install-command

sudo dotnet workload install microsoft-macos-sdk-full --skip-manifest-update

from maui-samples.

jonathanpeppers avatar jonathanpeppers commented on July 24, 2024

You can add this line locally to get further:

https://github.com/xamarin/xamarin-android/blob/304e698966a16cf2af992b3a24cb0323f561c31c/src/Xamarin.Android.Build.Tasks/Microsoft.NET.Workload.Android/WorkloadManifest.in.json#L20

However, we still have some native libraries that aren't built for M1, so you'll still hit further issues.

from maui-samples.

HausBJB avatar HausBJB commented on July 24, 2024

Ok, thank you first that didn't help, then we'll wait as soon as it works

have the same error

from maui-samples.

jonathanpeppers avatar jonathanpeppers commented on July 24, 2024

Related:

The two files we need for M1 are libzip.dylib and libMonoPosixHelper.dylib.

from maui-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.