CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop
iOS IPA build terminated at launch - symbol not found _$sSS10FoundationE19_bridgeToObjectiveCSo8NSStringCyF
- Dominant language
- C#
- Stars
- 249
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
### 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](https://github.com/user-attachments/files/21534135/MauiSample-2025-07-31-171249.txt)
The forked repository includes the following property group in the project file:
```
automatic
true
True
```
### Steps to Reproduce
1. Open the `newBinding.sln` solution from this fork here https://github.com/joemicmc/Maui.NativeLibraryInterop/tree/main/template
2. In the subdirectory `sample` run `dotnet publish -f net9.0-ios -c Release`
3. Deploy to a physical iOS device
4. Run the app
5. 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
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the `MaulSample.csproj` property group and the `newBinding.sln` reproduction under `template/sample`; run `dotnet publish -f net9.0-ios -c Release` and review the attached error report. Done means the resulting IPA deploys to a physical iOS device and launches without the reported missing-symbol crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100