Skip to content

Conversation

@andrewheard
Copy link
Contributor

Updated the Firebase AI Logic quickstart app to the Xcode 16 Project Format and enabled "Minimize Project References". Moved (using git mv to retain history) the group contents into the FirebaseAIExample folder to match a typical Xcode iOS app project structure.

Minimize project file changes, and avoid version control conflicts with buildable folder references.

Convert an existing group to a buildable folder with the “Convert to Folder” context menu item in the Project Navigator. Buildable folders only record the folder path into the project file without enumerating the contained files. This minimizes diffs to the project when files are added and removed, and avoids source control conflicts with your team.
-- Xcode 16 Release Notes

Although this introduces some churn now, it should help us with merge conflicts going forward.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @andrewheard, 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 focuses on a significant infrastructure update for the Firebase AI Logic quickstart application, transitioning it to the latest Xcode 16 project format. The core motivation is to enhance project maintainability and reduce version control issues by adopting Xcode's new buildable folder references. This involves a comprehensive restructuring of the project's file organization, centralizing all application content within a single 'FirebaseAIExample' directory, which, while introducing some initial changes, is expected to streamline future development and collaboration.

Highlights

  • Project Format Update: The Firebase AI Logic quickstart application has been migrated to the new Xcode 16 project format, updating the underlying project file structure.
  • Buildable Folder References: The project now utilizes Xcode 16's 'Minimize Project References' feature, which employs buildable folder references. This change aims to significantly reduce project file churn and mitigate future merge conflicts by no longer enumerating individual files within the project file.
  • Project Structure Reorganization: All quickstart app files and assets have been consolidated and moved into a dedicated 'FirebaseAIExample' folder. This reorganization standardizes the project layout to match typical Xcode iOS app project structures.
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.

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 effectively migrates the Firebase AI quickstart app to the new Xcode 16 project format. The changes primarily involve updating the .pbxproj file to use buildable folder references and enabling "Minimize Project References", which will help reduce merge conflicts in the future. The file structure has also been reorganized by moving source files into a unified FirebaseAIExample directory. The changes are well-contained and align with the stated goal. I've reviewed the project file modifications and they appear correct for an Xcode 16 migration. This is a great maintenance update.

@andrewheard
Copy link
Contributor Author

Verified that it continues to build and run locally with Xcode 16.2 (for macOS 15 compatibility) and Xcode 26.1 (newer than our CI job).

@andrewheard andrewheard merged commit 251909a into main Nov 14, 2025
7 checks passed
@andrewheard andrewheard deleted the ah/ai-folder-refs branch November 14, 2025 21:28
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