Description
If you update the MaulSample.csproj to build as an IPA, the built app terminates at launch with a 'symbol not found _$sSS10FoundationE19_bridgeToObjectiveCSo8NSStringCyF' error.
The full error report is attached MauiSample-2025-07-31-171249.txt
The forked repository includes the following property group in the project file:
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-ios|AnyCPU'">
<ProvisioningType>automatic</ProvisioningType>
<ArchiveOnBuild>true</ArchiveOnBuild>
<BuildIpa>True</BuildIpa>
</PropertyGroup>
Steps to Reproduce
- Open the
newBinding.sln solution from this fork here https://github.com/joemicmc/Maui.NativeLibraryInterop/tree/main/template
- In the subdirectory
sample run dotnet publish -f net9.0-ios -c Release
- Deploy to a physical iOS device
- Run the app
- The app crashes
Link to public reproduction project repository
https://github.com/joemicmc/Maui.NativeLibraryInterop/tree/main/template/sample
Environment
- OS: MacOS Sequoia 15.5
- .NET MAUI: 9.0.100
- Target platforms: iOS 18.1