JaneySprings / DotNet.Meteor

A VSCode extension that can run and debug .NET apps (Xamarin, MAUI, Avalonia)
https://marketplace.visualstudio.com/items?itemName=nromanov.dotnet-meteor
MIT License
269 stars 10 forks source link

Could not find a valid Xcode app bundle #60

Closed homerokzam closed 1 year ago

homerokzam commented 1 year ago

Congratulations!

I use Mac OSX with dotnet sdk 7 ...

I just installed it: sudo dotnet workload install maui --source https://api.nuget.org/v3/index.json

I did not install Visual Studio from Mac.

And I have the following error:

error : Could not find a valid Xcode app bundle at '/Library/Developer/CommandLineTools'. Please update your Apple SDK location in Visual Studio's preferences (Projects > SDK Locations > Apple > Apple SDK). [/Users/homerokzam/Projects/DotNet/MyMauiApp/MyMauiApp.csproj::TargetFramework=net7.0-maccatalyst]

Can you solve this problem without installing VS for Mac?

Thanks

JaneySprings commented 1 year ago

Hello! That you for your issue. Can you try running Xcode and open settings (command + ,) -> Locations? You need to make sure that you have Command Line Tools selected:

image
homerokzam commented 1 year ago

Gosh! It worked. That is a very good solution of yours. Thank you very much.

JaneySprings commented 1 year ago

Happy coding!

You may find some useful features .NET Meteor in this post.