Skip to content

Commit ad396d5

Browse files
committed
Try forcing Swift 6 mode on macOS 14 / Xcode 16.2
1 parent 33c2a1e commit ad396d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/firebaseai.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ jobs:
7878
with:
7979
product: ${{ matrix.product }}
8080
supports_swift6: true
81-
setup_command: scripts/update_vertexai_responses.sh
81+
setup_command: |
82+
scripts/update_vertexai_responses.sh; \
83+
sed -i "" "s/s.swift_version[[:space:]]*=[[:space:]]*'5.9'/s.swift_version = '6.0'/" ${{ matrix.product }}.podspec
8284
8385
quickstart:
8486
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'

FirebaseAI/Tests/Unit/Types/Generable/GenerableTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
@testable import FirebaseAILogic
1616
import Testing
1717

18-
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
1918
struct GenerableTests {
2019
@Test
2120
func initializeGenerableTypeFromModelOutput() throws {

0 commit comments

Comments
 (0)