Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

iOS dynamic frameworks fail to link UniformTypeIdentifiers

オープン 初心者向け
#826 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1時間未満
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
ios, react-native, ruby

調査の方向性

まず 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 ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

software-mansion/react-native-enriched-html のほかの issue

software-mansion/react-native-enriched-html の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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