CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

iOS IPA build terminated at launch - symbol not found _$sSS10FoundationE19_bridgeToObjectiveCSo8NSStringCyF

Open
#105 2 comments 0 reactions 0 assignees View on GitHub
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.