Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#987 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, ios, react-native

Research direction

Start with scripts/download-prebuilt-binaries.sh and the prebuilt libraries under common/cpp/audioapi/external/iphoneos/. Check the podspec's ios_min_version value and reproduce with an iOS 15.1 Expo build to confirm the linker warnings. Done means rebuilding the listed static libraries against the supported deployment target and publishing them in a release.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
848
Forks
94
Avg merge
2d 9h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from software-mansion/react-native-audio-api

All issues in software-mansion/react-native-audio-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.