Forum Discussion

chrismg32's avatar
chrismg32
Copper Contributor
Apr 28, 2022
Solved

Build error MT0057 for .net Maui iOS, Mac Catalyst builds with no problem

I can build and run for Mac Catalyst fine with this command dotnet build -t:Run -f net6.0-maccatalyst MyApp.csproj but when I try to build for iOS using this command dotnet build -t:Run -f net6...
  • chrismg32's avatar
    chrismg32
    May 05, 2022

    LanHuangThanks. I got an answer.

    Xcode > Preferences > Locations > Command Line Tools did not have a value selected. Odd that is works for catalyst but not iOS but making sure the above tool has a value selected solved my problem.

Resources