Hi @Chris Gonzales ,
It prompts that there is something wrong with the path /Library/Developer/CommandLineTools
, please open Xcode and check Xcode > Preferences > Locations > Command Line Tools.
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.2.302-preview.14.122/tools/bin/mlaunch
, the preview version is a little old, you could upgrade to the latest MAUI RC. The 15.2.302-preview.14.122
version on my side works fine, you could have a try.
My Testing :
- Update :
dotnet workload update
- Create a MAUI project :
sudo dotnet new maui -n 'HelloMAUI'
- Build for iOS( cd to the project path, udid is the id of my simulator ) :
dotnet build -t:Run -f net6.0-ios -p:_DeviceName=:v2:udid=********-************** HelloMAUI.csproj
Note: my Command Line Tools location is /Applications/Xcode.app
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.