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

Prebuilt static libraries compiled against iOS 26 SDK cause 1257 linker warnings when linking against iOS 15.1 target

オープン
#987 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, ios, react-native

調査の方向性

scripts/download-prebuilt-binaries.sh と common/cpp/audioapi/external/iphoneos/ 配下の prebuilt ライブラリから始めます。podspec の ios_min_version の値を確認し、iOS 15.1 の Expo ビルドで再現して linker 警告を確認します。記載された static ライブラリをサポート対象の deployment target に対して再ビルドし、release で公開すれば完了です。

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

説明

Summary

When building a React Native / Expo app that uses [email protected] targeting iOS 15.1, the prebuilt static libraries downloaded by scripts/download-prebuilt-binaries.sh generate 1,257 linker warnings of the form:

ld: warning: object file (…/external/iphoneos/libopus.a(…)) was built for newer iOS version (26.0) than being linked (15.1)

The affected prebuilt binaries are:

  • libopus.a
  • libvorbis.a / libvorbisenc.a / libvorbisfile.a
  • libopusfile.a
  • libogg.a
  • libssl.a
  • libcrypto.a

These carry a LC_VERSION_MIN_IPHONEOS Mach-O header specifying iOS 26.0 (Xcode 26 beta SDK), while the project deployment target is iOS 15.1.

Impact

  • 1,257 of the 3,313 total build warnings (38%) originate from this mismatch.
  • This creates undefined behavior risk and is a potential App Store rejection flag.
  • A Podfile post_install deployment target override cannot fix binary Mach-O headers — the binaries themselves need to be rebuilt.

Environment

  • react-native-audio-api: 0.11.6 (latest stable)
  • Expo SDK: 54
  • React Native: 0.81.5
  • Project iOS deployment target: 15.1
  • Build system: EAS Build (Expo managed workflow)

Steps to Reproduce

  1. Create an Expo managed workflow project with [email protected]
  2. Set iOS deployment target to 15.1
  3. Run eas build --platform ios
  4. Observe 1,257+ linker warnings referencing the prebuilt .a files in common/cpp/audioapi/external/iphoneos/

Expected Behavior

Prebuilt static libraries should be compiled against the minimum supported iOS deployment target (14.0 per the podspec ios_min_version, or ideally 15.1 to match current Expo SDK defaults).

Workaround

Setting DISABLE_AUDIOAPI_FFMPEG=1 removes the FFmpeg xcframeworks but the core static libs (opus, vorbis, ssl, crypto) remain mismatched.

Request

Please rebuild the prebuilt static libraries against iOS 14.0 or iOS 15.1 SDK target and publish in the next release. This would eliminate ~38% of build warnings for all users on Expo SDK 52+.

主要言語
C++
スター
851
フォーク
97
平均マージ
4日 6時間
マージ済み PR(30日)
20

環境構築

はじめの一歩

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

software-mansion/react-native-audio-api のほかの issue

software-mansion/react-native-audio-api の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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