When I use this command to publish a .net maui Mac catalyst app for Ad Hoc
dotnet publish ChronoWiz/ChronoWiz.csproj -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:CodesignKey="Apple Development: Eigil Krogh (M39X...)" -p:CodesignProvision="ChronoWiz Profile Development MAC" -p:CodesignEntitlements="Platforms\MacCatalyst\Entitlements.Release.plist" -p:UseHardenedRuntime=true -o "/Applications"
or this command to publish a .net maui Mac catalyst app for App Store
dotnet publish ChronoWiz/ChronoWiz.csproj -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Apple Distribution: Eigil Krogh (4657Q2...)" -p:CodesignProvision="ChronoWiz Profile App Store MAC" -p:CodesignEntitlements="Platforms\MacCatalyst\Entitlements.Release.plist" -p:PackageSigningKey="3rd Party Mac Developer Installer: Eigil Krogh (4657Q...)" -o "/Applications"
Then the resulting app, ChronoWix.apps" has no icon.
What can be the reason for that. If I run the following command, the .app has icons.
dotnet build ChronoWiz/ChronoWiz.csproj -f net8.0-maccatalyst
You need to check that the names of the icons in .csproj and Info.plist match. For example, for icon "micon1.svg" in Info.plist must be:
Info.plist
.csproj