Skip to content

build(deps): update firebase-ios-sdk to 13.1.1 and resolve build configurations - #1880

Merged
ncooke3 merged 6 commits into
mainfrom
nc.spm-deps
Oct 27, 2026
Merged

ncooke3 merged 6 commits into
mainfrom
nc.spm-deps

Conversation

@ncooke3

@ncooke3 ncooke3 commented Oct 27, 2026

Copy link
Copy Markdown
Member

Update firebase-ios-sdk package dependency across all sample projects to minimumVersion 13.1.1 with upToNextMajorVersion.

Also update GoogleSignIn-iOS to 10.1.0 and FirebaseUI-iOS to 16.2.0 where used. Address required build configuration updates for Xcode and Firebase 13:

  • Fix duplicate GoogleService-Info.plist tasks by moving to Resources phase
  • Add mock GoogleService-Info.plist to PasswordlessSwiftUI
  • Correct Info.plist path for AppDistributionExample test targets
  • Remove obsolete FirebaseDatabaseSwift and FirebaseAuthUI references
  • Add @MainActor isolation to AuthenticationExampleUITests
  • Conditionally apply deployment target overrides for Xcode 27+ in scripts/test.sh

…igurations

Update firebase-ios-sdk package dependency across all sample projects to
minimumVersion 13.1.1 with upToNextMajorVersion.

Also update GoogleSignIn-iOS to 10.1.0 and FirebaseUI-iOS to 16.2.0 where
used. Address required build configuration updates for Xcode and Firebase 13:
- Fix duplicate GoogleService-Info.plist tasks by moving to Resources phase
- Add mock GoogleService-Info.plist to PasswordlessSwiftUI
- Correct Info.plist path for AppDistributionExample test targets
- Remove obsolete FirebaseDatabaseSwift and FirebaseAuthUI references
- Add @mainactor isolation to AuthenticationExampleUITests
- Conditionally apply deployment target overrides for Xcode 27+ in scripts/test.sh

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the minimum version of the Firebase iOS SDK to 13.1.1 across various example projects, cleans up project configurations, and transitions the Firestore example from Firebase AuthUI to anonymous authentication. Feedback on these changes highlights three key issues: first, in RestaurantsTableViewController.swift, checking the current user inside the population loop after writing the restaurant document can lead to inconsistent database states; second, the asynchronous signInAnonymously() call lacks error handling; and third, the Xcode version check in scripts/test.sh for version 27 or higher is likely a typo that prevents the block from executing.

Comment thread firestore/FirestoreExample/RestaurantsTableViewController.swift Outdated
Comment thread firestore/FirestoreExample/RestaurantsTableViewController.swift Outdated
Comment thread scripts/test.sh
Apply swiftformat rules via scripts/style.sh to resolve CI style check failures.
FirebaseRemoteConfig in firebase-ios-sdk 13.1.1 requires a minimum deployment target of watchOS 8.0, whereas ABTestingExample was still configured for watchOS 7.0.
…ereq

InstallationsExample.xcodeproj already includes GoogleService-Info.plist in its Resources build phase. Running info_script.rb in CI added a second reference and caused an unexpected duplicate tasks build error.
Xcode 26.2 does not enable default SwiftPM package traits for remote package references in Xcode projects, causing FirebaseFirestore in firebase-ios-sdk 13.1.1 to fail with FIRESTORE_TRAIT_ENABLED undefined. Run the Firestore workflow on macos-26 with Xcode 26.4 where package traits are supported.
…lures

Warm up CoreSimulatorService via xcrun simctl before invoking xcodebuild after xcode-select switches, and retry once if xcodebuild fails due to transient simulator discovery issues.
@ncooke3

ncooke3 commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

I'm going to follow-up with a better Xcode x macOS matrix that hits our minimum (Xcode26.2 x macos15) and also adds Xcode 27 support.

Since this is green and focused on GSI/Firebase/Firebase-UI updates, marking ready-for-review.

@ncooke3
ncooke3 enabled auto-merge (squash) October 27, 2026 23:11

@paulb777 paulb777 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after two comments are addressed

Comment thread firestore/FirestoreExample.xcodeproj/project.pbxproj
@ncooke3
ncooke3 merged commit d7d6706 into main Oct 27, 2026
49 checks passed
@ncooke3
ncooke3 deleted the nc.spm-deps branch October 27, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants