Skip to content

Conversation

@paulb777
Copy link
Member

@paulb777 paulb777 commented Nov 15, 2025

This reverts commit c39fe8d, reversing changes made to 251909a.

Restores quickstarts to avoid docs build breakage.

This may also break the nightlies in firebase-ios-sdk because of firebase/firebase-ios-sdk#15478 but that shouldn't break anyone outside the team and can wait until next week.

This reverts commit c39fe8d, reversing
changes made to 251909a.
Comment on lines 31 to 79

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +53
name: cocoapods
runs-on: macOS-15
env:
SPM: false
LEGACY: false
OS: iOS
SETUP: authentication
SPM: true
DIR: authentication
DEVICE: iPhone 16
TEST: false
SCHEME: AuthenticationExample
steps:
- name: Checkout
uses: actions/checkout@master
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
- name: Setup
run: |
cd authentication
gem install bundler
bundle install
gem install xcpretty
cd $SETUP
../scripts/install_prereqs/${SETUP}.sh
- name: Build and Test SwiftUI (${OS})
bundle exec pod install --repo-update
../scripts/install_prereqs/authentication.sh
- name: Build Swift
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +54
name: cocoapods
runs-on: macOS-15
env:
OS: iOS
DEVICE: iPhone 16
DIR: config
SPM: true
SCHEME: ConfigExample
SPM: false
LEGACY: false
SWIFT_SUFFIX: ""
TEST: true
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd config
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/config.sh
xcrun simctl boot "iPhone 16"
- name: Build Swift
run: ./scripts/test.sh
env:
OS: iOS
DEVICE: iPhone 16

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +53
name: cocoapods
runs-on: macOS-15
env:
SPM: true
SPM: false
LEGACY: false
OS: iOS
DIR: firestore
DEVICE: iPhone 16
TEST: false
SCHEME: FirestoreExample
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd firestore
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/firestore.sh
- name: Build
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +57
name: cocoapods
runs-on: macOS-15
env:
SPM: true
DIR: inappmessaging
SPM: false
LEGACY: false
OS: iOS
DEVICE: iPhone 16
TEST: false
TEST: true
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd inappmessaging
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/inappmessaging.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
SCHEME: InAppMessagingExample
SWIFT_SUFFIX: Swift

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +57
name: cocoapods
runs-on: macOS-15
env:
SPM: true
SPM: false
LEGACY: false
OS: iOS
DEVICE: iPhone 16
TEST: true
DIR: installations
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd installations
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/installations.sh
- name: Build ObjC
run: ./scripts/test.sh
env:
SCHEME: InstallationsExample
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: Swift

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +31 to +57
name: cocoapods
runs-on: macOS-15
env:
SPM: true
SPM: false
LEGACY: false
OS: iOS
DEVICE: iPhone 16
TEST: false
DIR: messaging
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
cd messaging
gem install bundler
bundle install
gem install xcpretty
bundle exec pod install --repo-update
../scripts/install_prereqs/messaging.sh
- name: Build
- name: Build ObjC
run: ./scripts/test.sh
env:
SWIFT_SUFFIX: ""
- name: Build Swift
run: ./scripts/test.sh
env:
SCHEME: MessagingExample
SWIFT_SUFFIX: Swift

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @paulb777, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request serves as a revert to a previous merge, primarily aimed at restoring quickstart examples to a functional state to resolve documentation build issues. It re-introduces older versions of quickstarts into dedicated legacy directories and shifts the dependency management strategy for several projects from Swift Package Manager to CocoaPods. Additionally, it includes updates to Xcode project configurations and minor code adjustments related to concurrency and network reachability.

Highlights

  • Revert of Previous Merge: This pull request reverts a prior merge (PR infra: Remove ObjC quickstarts #1806) to restore quickstart examples and prevent documentation build failures.
  • Re-introduction of Legacy Quickstarts: Older Objective-C and Swift versions of quickstart examples for ABTesting, Analytics, Authentication, Config, Crashlytics, and Database have been re-introduced into dedicated 'LegacyQuickstart' directories.
  • Dependency Management Shift: The main quickstart projects have transitioned from using Swift Package Manager (SPM) to CocoaPods for dependency management, reflected by the removal of SPM references and the addition of Podfiles and Podfile.lock files.
  • Concurrency Annotation Adjustments: The @MainActor attribute has been removed from several protocols and extensions across the Authentication example, indicating a refinement in concurrency handling or compatibility adjustments.
  • Network Reachability Update: The Crashlytics quickstart's network reachability implementation has been updated, moving from Apple's Network framework to the Reachability.swift library, with conditional compilation for watchOS compatibility.
Ignored Files
  • Ignored by pattern: .github/workflows/** (15)
    • .github/workflows/abtesting.yml
    • .github/workflows/analytics.yml
    • .github/workflows/authentication.yml
    • .github/workflows/check.yml
    • .github/workflows/config.yml
    • .github/workflows/crashlytics.yml
    • .github/workflows/database.yml
    • .github/workflows/firebaseai.yml
    • .github/workflows/firestore.yml
    • .github/workflows/functions.yml
    • .github/workflows/inappmessaging.yml
    • .github/workflows/installations.yml
    • .github/workflows/messaging.yml
    • .github/workflows/performance.yml
    • .github/workflows/storage.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@paulb777 paulb777 enabled auto-merge (squash) November 15, 2025 15:23
Copy link
Contributor

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

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 is a revert of a previous large-scale refactoring that introduced build breakages. The changes being reverted include moving several quickstart examples to 'Legacy' directories and migrating dependency management from CocoaPods to Swift Package Manager for multiple projects. Given that the goal is to restore the build to a working state, this revert is appropriate. The changes appear to correctly reverse the previous commit, and I see no issues with the revert itself.

@paulb777 paulb777 requested a review from peterfriese November 15, 2025 22:58
@paulb777 paulb777 merged commit 0b2a3e7 into main Nov 16, 2025
39 of 41 checks passed
@paulb777 paulb777 deleted the pb-restore-legacy branch November 16, 2025 16:09
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