firebase / firebase/firebase-ios-sdk

FirebaseAI xcframework compatibility issue

Open
#15,272 3 comments 0 reactions 1 assignee Claimed by @andrewheard View on GitHub
api: firebaseai zip
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 18h
Merged PRs (30d)
75

Description

### 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

```shell

```

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

Expand Package.resolved snippet

```json

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

```

### If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

```yml

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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.