From da3f64911ed28f994146734f6cddb21ed15aad47 Mon Sep 17 00:00:00 2001 From: YoungHypo Date: Fri, 20 Jun 2025 11:29:59 -0700 Subject: [PATCH 1/2] change filename from FirebaseAIExample to FirebaseAISample --- .../project.pbxproj | 8 ++++---- .../xcschemes/FirebaseAIExample (iOS).xcscheme | 6 +++--- firebaseai/README.md | 3 ++- 3 files changed, 9 insertions(+), 8 deletions(-) rename firebaseai/{FirebaseAIExample.xcodeproj => FirebaseAISample.xcodeproj}/project.pbxproj (99%) rename firebaseai/{FirebaseAIExample.xcodeproj => FirebaseAISample.xcodeproj}/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme (92%) diff --git a/firebaseai/FirebaseAIExample.xcodeproj/project.pbxproj b/firebaseai/FirebaseAISample.xcodeproj/project.pbxproj similarity index 99% rename from firebaseai/FirebaseAIExample.xcodeproj/project.pbxproj rename to firebaseai/FirebaseAISample.xcodeproj/project.pbxproj index e16ce774c..f7cac12a6 100644 --- a/firebaseai/FirebaseAIExample.xcodeproj/project.pbxproj +++ b/firebaseai/FirebaseAISample.xcodeproj/project.pbxproj @@ -327,7 +327,7 @@ }; }; }; - buildConfigurationList = 8848C82A2B0D04BC007B434F /* Build configuration list for PBXProject "FirebaseAIExample" */; + buildConfigurationList = 8848C82A2B0D04BC007B434F /* Build configuration list for PBXProject "FirebaseAISample" */; compatibilityVersion = "Xcode 14.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -532,7 +532,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FirebaseAIExample; + PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FirebaseAISample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -562,7 +562,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FirebaseAIExample; + PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.quickstart.FirebaseAISample; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -573,7 +573,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 8848C82A2B0D04BC007B434F /* Build configuration list for PBXProject "FirebaseAIExample" */ = { + 8848C82A2B0D04BC007B434F /* Build configuration list for PBXProject "FirebaseAISample" */ = { isa = XCConfigurationList; buildConfigurations = ( 8848C83B2B0D04BD007B434F /* Debug */, diff --git a/firebaseai/FirebaseAIExample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme b/firebaseai/FirebaseAISample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme similarity index 92% rename from firebaseai/FirebaseAIExample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme rename to firebaseai/FirebaseAISample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme index 160714dd9..84e067ce8 100644 --- a/firebaseai/FirebaseAIExample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme +++ b/firebaseai/FirebaseAISample.xcodeproj/xcshareddata/xcschemes/FirebaseAIExample (iOS).xcscheme @@ -18,7 +18,7 @@ BlueprintIdentifier = "8848C82E2B0D04BC007B434F" BuildableName = "FirebaseAISample.app" BlueprintName = "FirebaseAISample" - ReferencedContainer = "container:FirebaseAIExample.xcodeproj"> + ReferencedContainer = "container:FirebaseAISample.xcodeproj"> @@ -47,7 +47,7 @@ BlueprintIdentifier = "8848C82E2B0D04BC007B434F" BuildableName = "FirebaseAISample.app" BlueprintName = "FirebaseAISample" - ReferencedContainer = "container:FirebaseAIExample.xcodeproj"> + ReferencedContainer = "container:FirebaseAISample.xcodeproj"> @@ -70,7 +70,7 @@ BlueprintIdentifier = "8848C82E2B0D04BC007B434F" BuildableName = "FirebaseAISample.app" BlueprintName = "FirebaseAISample" - ReferencedContainer = "container:FirebaseAIExample.xcodeproj"> + ReferencedContainer = "container:FirebaseAISample.xcodeproj"> diff --git a/firebaseai/README.md b/firebaseai/README.md index 18813616c..86d6594f6 100644 --- a/firebaseai/README.md +++ b/firebaseai/README.md @@ -27,9 +27,10 @@ sample app to your Firebase project (or create a new project): [Set up a Firebase project and connect your app to Firebase](https://firebase.google.com/docs/vertex-ai/get-started?platform=ios#set-up-firebase). 2. Add an iOS+ app to your project. Make sure the `Bundle Identifier` you set matches the one in the sample. - - The default bundle ID is `com.google.firebase.quickstart.FirebaseAIExample` + - The default bundle ID is `com.google.firebase.quickstart.FirebaseAISample` 3. Download the `GoogleService-Info.plist` for the app when prompted and save it to the `firebaseai` directory. +4. In the Firebase Console, click `AI` and select `AI Logic` to enable Gemini Developer API and Vertex AI Gemini API You should now be able to build and run the sample! From 96b03efcfd47f47a069d71dc35553e6fa02750eb Mon Sep 17 00:00:00 2001 From: Haibo Yang Date: Fri, 20 Jun 2025 11:35:26 -0700 Subject: [PATCH 2/2] Update firebaseai/README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- firebaseai/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebaseai/README.md b/firebaseai/README.md index 86d6594f6..618e34785 100644 --- a/firebaseai/README.md +++ b/firebaseai/README.md @@ -30,7 +30,7 @@ sample app to your Firebase project (or create a new project): - The default bundle ID is `com.google.firebase.quickstart.FirebaseAISample` 3. Download the `GoogleService-Info.plist` for the app when prompted and save it to the `firebaseai` directory. -4. In the Firebase Console, click `AI` and select `AI Logic` to enable Gemini Developer API and Vertex AI Gemini API +4. In the Firebase Console, click **AI** and select **AI Logic** to enable the Gemini Developer API and Vertex AI Gemini API. You should now be able to build and run the sample!