Prebuilt static libraries compiled against iOS 26 SDK cause 1257 linker warnings when linking against iOS 15.1 target
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, ios, react-native
- Área
- build-system, mobile, release
Línea de trabajo
Comienza con scripts/download-prebuilt-binaries.sh y las bibliotecas precompiladas bajo common/cpp/audioapi/external/iphoneos/. Comprueba el valor ios_min_version del podspec y reproduce el problema con una compilación de Expo para iOS 15.1 para confirmar las advertencias del enlazador. Se considera completado cuando se hayan recompilado las bibliotecas estáticas indicadas con el destino de implementación compatible y se hayan publicado en una release.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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+.
- Lenguaje dominante
- C++
- Estrellas
- 851
- Forks
- 97
- Merge medio
- 4 d 5 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de software-mansion/react-native-audio-api
-
android bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
software-mansion/react-native-audio-api#1358 ·
Los mantenedores suelen responder en 2 días
-
android bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
software-mansion/react-native-audio-api#1273 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
software-mansion/react-native-audio-api#1238 ·
Los mantenedores suelen responder en 2 días
-
Option to build without recording on iOS, so playback-only apps don't need NSMicrophoneUsageDescriptionPosiblemente ocupada @maciejmakowski2003 la tomó hace 8 días. Abiertoios
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
software-mansion/react-native-audio-api#1350 ·
Los mantenedores suelen responder en 2 días
-
ios
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
software-mansion/react-native-audio-api#1340 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de software-mansion/react-native-audio-api
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
foxglove/mcap#1907 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
qbittorrent/qBittorrent#25127 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
telegramdesktop/tdesktop#31505 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día