Skip to content

Linker warnings: liblivekit_uniffi.a was built for newer iOS version (26.1) #893

Description

@bguidolim

Description

After updating to the latest version of the SDK, Xcode produces numerous linker warnings during the build process. The warnings indicate that object files in liblivekit_uniffi.a were built for iOS 26.1, but the project is targeting a lower iOS version.

This appears to be related to PR #822 (Integrate UniFFI). The framework that needs to be rebuilt with a lower deployment target is: https://github.com/livekit/livekit-uniffi-xcframework

Environment

  • Xcode: 26.1.1
  • Project deployment target: iOS 16.0
  • LiveKit SDK version: 2.11.0

Warnings

ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[558](25ac62e5b3c53843-curve25519.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[559](0bbbd18bda93c05b-aes_nohw.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[560](00c879ee3285a50d-montgomery.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[561](00c879ee3285a50d-montgomery_inv.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[562](a0330e891e733f4e-ecp_nistz.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[564](a0330e891e733f4e-gfp_p384.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[566](aaa1ba3e455ee2e1-limbs.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[567](a4019cc0736b0423-mem.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[568](d5a9841f3dc6e253-poly1305.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[569](a0330e891e733f4e-p256-nistz.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[570](c322a0bcc369f531-chacha-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[571](c322a0bcc369f531-chacha20_poly1305_armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[572](c322a0bcc369f531-aesv8-armx-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[573](c322a0bcc369f531-aesv8-gcm-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[574](c322a0bcc369f531-ghash-neon-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[575](c322a0bcc369f531-ghashv8-armx-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[576](c322a0bcc369f531-vpaes-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[577](c322a0bcc369f531-armv8-mont-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[578](c322a0bcc369f531-p256-armv8-asm-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[579](c322a0bcc369f531-sha512-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)
ld: object file ([PROJECT_PATH]/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/[SCHEME]/BuildProductsPath/Release-iphoneos/liblivekit_uniffi.a[580](c322a0bcc369f531-sha256-armv8-ios64.o)) was built for newer 'iOS' version (26.1) than being linked (16.0)

Expected Behavior

No linker warnings should appear when integrating the SDK into projects with deployment targets lower than iOS 26.1.

Suggested Fix

Rebuild livekit-uniffi-xcframework (https://github.com/livekit/livekit-uniffi-xcframework) with a lower iOS deployment target (e.g., iOS 13.0 or matching the SDK's minimum deployment target) to ensure compatibility with projects targeting older iOS versions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions