iOS dynamic frameworks fail to link UniformTypeIdentifiers
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- ios, react-native, ruby
- 領域
- build-system, mobile
調査の方向性
まず ReactNativeEnrichedHtml.podspec と、UniformTypeIdentifiers をインポートする iOS のクリップボード実装を読みます。podspec のシステムフレームワーク宣言が、リンカーエラーで示された UTType シンボルをカバーしていることを確認し、次に、実装について最初に話し合うというコントリビューションガイドの要件を確認します。アプリケーションへのパッチなしで、動的 CocoaPods フレームワークの利用側が正常にリンクできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
The CocoaPods specification does not link UniformTypeIdentifiers, although the iOS clipboard implementation imports it and uses UTType constants. An iOS consumer using dynamic CocoaPods frameworks fails while linking ReactNativeEnrichedHtml.
Environment
- react-native-enriched-html: 1.1.1
- Expo SDK: 58.0.16
- React Native: 0.88.0
- Xcode: 27
- CocoaPods: 1.16.2
- arm64 iOS simulator
expo-build-properties:ios.useFrameworks: 'dynamic',ios.usePrecompiledModules: false
Observed result
The linker reports undefined symbols including _UTTypeGIF, _UTTypeHEIC, _UTTypeHTML, and _UTTypeJPEG, referenced by EnrichedInputTextView and EnrichedTextTextView.
Investigation and proposed fix
Adding this system-framework declaration to ReactNativeEnrichedHtml.podspec fixed the linker error:
s.frameworks = "UniformTypeIdentifiers"
After reinstalling Pods, the same consumer built with zero errors and installed on the simulator.
This was tested in an existing consumer, rather than the upstream example. Version 1.1.1 also required React header import corrections before reaching the linker; current main already has React header mapping changes. Main at 0d015a7b1d011e32705d71fd3cd02c68bf8e2c52 still lacks the framework declaration.
Expected result
The library should declare the Apple system frameworks its native implementation uses, so dynamic-framework consumers can link without application patches.
The contribution guide asks for an issue discussion before implementation pull requests. I have the one-line podspec change prepared and can submit it if this is the preferred fix.
- 主要言語
- C
- スター
- 1.4k
- フォーク
- 69
- 平均マージ
- 8日 13時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
software-mansion/react-native-enriched-html のほかの issue
-
HTML normalizer adds empty list items for whitespace around blocks inside <li>対応中かも @RaphaelFakhri が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/react-native-enriched-html#829 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
software-mansion/react-native-enriched-html#818 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
[iOS] Tags not parsed on iOS below a certain string length対応中かも @hejsztynx が 8 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
software-mansion/react-native-enriched-html#811 · コメント 3 件 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
software-mansion/react-native-enriched-html#810 · コメント 1 件 ·
メンテナーはふだん 5 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
software-mansion/react-native-enriched-html#803 ·
メンテナーはふだん 5 日以内に返信
software-mansion/react-native-enriched-html の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
linux-test-project/ltp#1343 · コメント 1 件 ·
-
test_audio_host: out-of-bounds read in test_audio_host_uses_exponential_full_speed_iso_intervalオープンfollowup Prio 📌
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
micropython/micropython#19798 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
valkey-io/valkey#4979 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信