Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#987 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, ios, react-native

Direzione di ricerca

Inizia da scripts/download-prebuilt-binaries.sh e dalle librerie precompilate in common/cpp/audioapi/external/iphoneos/. Controlla il valore ios_min_version del podspec e riproduci il problema con una build Expo per iOS 15.1 per confermare gli avvisi del linker. Il lavoro è completato quando le librerie statiche elencate sono state ricompilate per il deployment target supportato e pubblicate in una release.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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+.

Lingua principale
C++
Stelle
848
Fork
94
Merge medio
3g 19h
PR unite (30g)
31

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di software-mansion/react-native-audio-api

Tutte le issue di software-mansion/react-native-audio-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.