Skip to content

FirebaseAI xcframework compatibility issue #15272

@urosk

Description

@urosk

Description

I'm adding the SDK to a blank project via the binary distribution. FirebaseAI.xcframework is causing failure to compile with the following error:

Failed to build module 'FirebaseAI'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)', while this compiler is 'Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)'). Please select a toolchain which matches the SDK.

Newest XCode.

Reproducing the issue

1.) Create a blank iOS project in latest XCode.
2.) Download Firebase iOS SDK 12.2.0 zip.
2.) Add FirebaseAI.xcframework and dependancies to the project, and configure it according to the README.md.
3.) Import FirebaseAI in AppDelegate.swift
4.) try to build the project

Firebase SDK Version

12.2.0

Xcode Version

16.4

Installation Method

Zip

Firebase Product(s)

All

Targeted Platforms

iOS

Relevant Log Output

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!

Metadata

Metadata

Assignees

Labels

api: firebaseaizipIssues related to binary distribution (zip file)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions