CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

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

オープン
#105 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
249
フォーク
48
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

`MaulSample.csproj` のプロパティ グループと `template/sample` 配下の `newBinding.sln` の再現環境から始め、`dotnet publish -f net9.0-ios -c Release` を実行して、添付されたエラー レポートを確認してください。結果の IPA が物理 iOS デバイスにデプロイされ、報告されているシンボル不足によるクラッシュなしで起動すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, ios
領域
mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。