Skip to content

Conversation

@andrewheard
Copy link
Contributor

@andrewheard andrewheard commented Nov 27, 2025

Updated FirebaseAI.podspec and FirebaseAILogic.podspec to swift_version = '6.0' to support Swift Testing unit tests and and to match Package.swift. This currently overwritten to 6.0 in our pod-lib-lint jobs, except on macos-14:

- name: Set podspec Swift version to 6.0, if supported.
if: inputs.supports_swift6 == true && matrix.os != 'macos-14'
run: sed -i "" "s/s.swift_version[[:space:]]*=[[:space:]]*'5.9'/s.swift_version = '6.0'/" ${{ inputs.product }}.podspec

We only support Xcode 16+ now which includes the Swift 6.0+ toolchain, even on macOS 14.

#no-changelog

Updated `s.swift_version` from `5.9` to `6.0` in `FirebaseAI.podspec` and `FirebaseAILogic.podspec`.
@andrewheard andrewheard marked this pull request as ready for review November 27, 2025 19:04
@andrewheard
Copy link
Contributor Author

cc: @ncooke3 (no need to look at this over the long weekend, I'll double check that there's no impact on the nightly zip build tomorrow)

@andrewheard andrewheard merged commit f63f3cc into main Nov 27, 2025
72 checks passed
@andrewheard andrewheard deleted the update-firebase-ai-swift-version branch November 27, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants