@@ -8,34 +8,32 @@ from your app, rather than server-side, using the
8
8
9
9
### Clone and open the sample project
10
10
11
- 1 . Clone this repo and checkout the ` release-10.26 ` branch .
11
+ 1 . Clone this repo.
12
12
1 . Change into the ` FirebaseVertexAI/Sample ` directory.
13
13
1 . Open ` VertexAISample.xcodeproj ` using Xcode.
14
14
15
15
``` bash
16
- $ git clone https://github.com/firebase/firebase-ios-sdk.git
17
- $ cd firebase-ios-sdk
18
- $ git checkout release-10.26
19
- $ cd FirebaseVertexAI/Sample
20
- $ open VertexAISample.xcodeproj
16
+ git clone https://github.com/firebase/firebase-ios-sdk.git
17
+ cd firebase-ios-sdk
18
+ cd FirebaseVertexAI/Sample
19
+ open VertexAISample.xcodeproj
21
20
```
22
21
23
22
### Connect the sample to your Firebase project
24
23
25
- - To have a functional application, you will need to connect the Vertex AI for
26
- Firebase sample app to your Firebase project using the
27
- [ Firebase Console] ( https://console.firebase.google.com ) .
28
- - For an in-depth explanation, see
29
- [ Add Firebase to your Apple project] ( https://firebase.google.com/docs/ios/setup ) .
30
- Below is a summary of the main steps:
31
- 1 . Visit the [ Firebase Console] ( https://console.firebase.google.com ) .
32
- 2 . Add an iOS+ app to the project. Make sure the ` Bundle Identifier ` you set
33
- matches that of the one in the sample.
24
+ To have a functional application, you will need to connect the Vertex AI for
25
+ Firebase sample app to your Firebase project (or create a new project):
26
+
27
+ 1 . Follow the instructions in
28
+ [ 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 ) .
29
+ 2 . Add an iOS+ app to your project. Make sure the ` Bundle Identifier ` you set
30
+ matches the one in the sample.
34
31
- The default bundle ID is ` com.google.firebase.VertexAISample `
35
- 3 . Download the ` GoogleService-Info.plist ` when prompted and save it to the
36
- ` FirebaseVertexAI/Sample ` directory, overwriting the placeholder file with
37
- the same name.
38
- - Now you should be able to build and run the sample!
32
+ 3 . Download the ` GoogleService-Info.plist ` for the app when prompted and save
33
+ it to the ` FirebaseVertexAI/Sample ` directory, overwriting the placeholder
34
+ file with the same name.
35
+
36
+ You should now be able to build and run the sample!
39
37
40
38
## Documentation
41
39
0 commit comments