CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

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

Offen
#105 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
249
Forks
48
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit der Eigenschaftsgruppe in `MaulSample.csproj` und der Reproduktion `newBinding.sln` unter `template/sample`; führe `dotnet publish -f net9.0-ios -c Release` aus und prüfe den angehängten Fehlerbericht. Erledigt ist die Aufgabe, wenn die resultierende IPA auf einem physischen iOS-Gerät bereitgestellt werden kann und ohne den gemeldeten Absturz aufgrund eines fehlenden Symbols startet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, ios
Bereich
mobile-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.