Delete csproj.user
In my case, I copied the Xamarin/MAUI solution from Windows to Mac and I realized that by deleting these files from the PCL (shared) and iOS project, the app can be installed.