CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

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

Aperta
#105 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
249
Fork
48
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.