Hi,
I can reproduce a Mac Catalyst Release publish failure in a clean .NET MAUI project when adding Esri.ArcGISRuntime.Maui 200.8.1.
A standard MAUI template publishes successfully for Mac Catalyst. However, after adding the ArcGIS package and initializing it with .UseArcGISRuntime(), the architecture-specific builds succeed but the final universal app merge fails.
Environment
ArcGIS Maps SDK for .NET MAUI: 200.8.1
Target: net10.0-maccatalyst
Machine: Apple Silicon MacBook Pro
Build command:
dotnet publish -f net10.0-maccatalyst -c ReleaseSteps to reproduce
Create a new MAUI project
dotnet new maui -n MauiApp1
cd MauiApp1
Publish Mac Catalyst Release
dotnet publish -f net10.0-maccatalyst -c Release
This succeeds.
Add ArcGIS NuGet package
<PackageReference Include="Esri.ArcGISRuntime.Maui" Version="200.8.1" />
Initialize ArcGIS in MauiProgram.cs
builder.UseArcGISRuntime();
Publish again
dotnet publish -f net10.0-maccatalyst -c ReleaseResult
Both architecture builds succeed:
maccatalyst-x64
maccatalyst-arm64
But the final universal bundle merge fails with:
Unable to merge the file
Contents/Frameworks/RuntimeCoreNet.framework/Versions/A/Resources/Info.plist
it's different between the input app bundles.Investigation
Comparing the generated files shows different CFBundleIdentifier values inside RuntimeCoreNet.framework:
arm64
com.esri.ArcGISXamarinArm64
x64
com.esri.ArcGISXamarinSimx64
This difference appears to cause the universal Mac Catalyst bundle merge to fail.
Workaround
Publishing a single architecture works:
dotnet publish -f net10.0-maccatalyst -c Release -p:RuntimeIdentifier=maccatalyst-arm64
Question
Is this a known issue with the ArcGIS Maps SDK for .NET MAUI 200.8.1 packaging for Mac Catalyst?
Thanks.
This is by design and not specific to 200.8.1 . It applies all versions of the ArcGIS Maps SDK for .NET MAUI on Mac Catalyst. You will need to specify a single architecture at publish time, as you already found.
The Mac Catalyst universal publish issue has been resolved. If you upgrade the package reference to ArcGIS Maps SDK for .NET MAUI 300.0, the workaround is no longer needed. You should be able to publish without restricting to a single architecture:
dotnet publish -f net10.0-maccatalyst -c Release