Skip to content

[Bug] Prebuilt iOS/tvOS xcframeworks in 13.11.0 stamp LC_BUILD_VERSION minos = SDK version (26.2) instead of the 15.0 minimum → linker "built for newer iOS version" warnings #1902

Description

@ChristophePretty

Description

The prebuilt Apple xcframeworks shipped in the C++ SDK 13.11.0 zip have their Mach-O LC_BUILD_VERSION minos field set to 26.2 (the iOS 26.2 SDK they were compiled against) rather than the SDK's documented minimum deployment target of iOS 15.0. Because minos == sdk, every app with a deployment target below 26.2 (i.e. essentially all apps) gets linker warnings:

ld: warning: Object file (…/firebase_functions.framework/firebase_functions[arm64][2](callable_reference.o))
was built for newer 'iOS' version (26.2) than being linked (15.0)

Evidence

$ otool -l firebase_functions.xcframework/ios-arm64/firebase_functions.framework/firebase_functions
      cmd LC_BUILD_VERSION
  cmdsize 24
 platform 2          # iOS
    minos 26.2        # ← should be 15.0
      sdk 26.2

This affects every cpp xcframework and every slice (iOS device, iOS simulator, tvOS, tvOS simulator) in the release — firebase, firebase_analytics, firebase_auth, firebase_firestore, firebase_functions, firebase_messaging, firebase_remote_config.

Expected
minos should equal the SDK's minimum supported deployment target (iOS/tvOS 15.0 per release notes for ≥13.0.0), independent of the SDK version used to build.

Impact
Non-fatal (linking succeeds), but produces noisy warnings on every clean build for all consumers. Root cause looks like the build passes the SDK version as the minimum-version flag (e.g. missing/incorrect -mios-version-min=15.0 / MACOSX_DEPLOYMENT_TARGET), so minos inherits the SDK version.

Environment
• Firebase C++ SDK: 13.11.0
• Xcode: 26.x (iOS 26.2 SDK)
• App deployment target: iOS 15.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions