Prebuilt static libraries compiled against iOS 26 SDK cause 1257 linker warnings when linking against iOS 15.1 target
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp, ios, react-native
- 領域
- build-system, mobile, release
調査の方向性
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.alibvorbis.a/libvorbisenc.a/libvorbisfile.alibopusfile.alibogg.alibssl.alibcrypto.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_installdeployment 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
- Create an Expo managed workflow project with
[email protected] - Set iOS deployment target to 15.1
- Run
eas build --platform ios - Observe 1,257+ linker warnings referencing the prebuilt
.afiles incommon/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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
software-mansion/react-native-audio-api のほかの issue
-
android bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
software-mansion/react-native-audio-api#1358 ·
メンテナーはふだん 3 日以内に返信
-
android bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
software-mansion/react-native-audio-api#1273 · コメント 5 件 ·
メンテナーはふだん 3 日以内に返信
-
bug ios
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
software-mansion/react-native-audio-api#1238 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
feature-request
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
software-mansion/react-native-audio-api#1363 ·
メンテナーはふだん 3 日以内に返信
-
Option to build without recording on iOS, so playback-only apps don't need NSMicrophoneUsageDescription対応中かも @maciejmakowski2003 が 12 日前に担当しました。 オープンios
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
software-mansion/react-native-audio-api#1350 ·
メンテナーはふだん 3 日以内に返信
software-mansion/react-native-audio-api の issue をすべて見る
似ている issue
-
Status: Needs confirmation Status: Needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
A-combat P-low S-ready-to-start task
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
bug intrinsic medium priority rt_lib
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信