Skip to content

Commit b333d87

Browse files
authored
Merge pull request #96 from firebase/ehsann/update-readme-for-ios
Update README to reflect changes in the frameworks.
2 parents 51950ed + a94a30d commit b333d87

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

firestore/testapp/README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ Building and Running the testapp
4646
sudo gem install cocoapods --pre
4747
```
4848
49+
- Update the pod versions in the Podfile to match the C++ SDK version that you are using.
50+
For the latest version of the C++ SDK, you can find the associated pod versions on the
51+
[`Add Firebase to your project` page](https://firebase.google.com/docs/cpp/setup?platform=ios#libraries-ios).
52+
For instance: if you're using SDK version 8.2.0, use the following in the Podfile
53+
(but note that pod versions may not always match the C++ SDK version):
54+
55+
```
56+
pod 'Firebase/Firestore', '8.2.0'
57+
pod 'Firebase/Auth', '8.2.0'
58+
```
59+
4960
- From the testapp directory, install the CocoaPods listed in the Podfile
5061
by running,
5162
@@ -84,15 +95,15 @@ Building and Running the testapp
8495
8596
- Add the following frameworks from the Firebase C++ SDK to the project:
8697
87-
- frameworks/ios/universal/firebase.framework
88-
- frameworks/ios/universal/firebase_auth.framework
89-
- frameworks/ios/universal/firebase_firestore.framework
98+
- xcframeworks/firebase.xcframework/ios-arm64_armv7/firebase.framework
99+
- xcframeworks/firebase_firestore.xcframework/ios-arm64_armv7/firebase_firestore.framework
100+
- xcframeworks/firebase_auth.xcframework/ios-arm64_armv7/firebase_auth.framework
90101
- You will need to either,
91102
1. Check "Copy items if needed" when adding the frameworks, or
92103
2. Add the framework path in "Framework Search Paths"
93104
- e.g. If you downloaded the Firebase C++ SDK to
94105
`/Users/me/firebase_cpp_sdk`, then you would add the path
95-
`/Users/me/firebase_cpp_sdk/frameworks/ios/universal`.
106+
`/Users/me/firebase_cpp_sdk/xcframeworks/**`.
96107
- To add the path, in XCode, select your project in the project
97108
navigator, then select your target in the main window. Select
98109
the "Build Settings" tab, and click "All" to see all the build

0 commit comments

Comments
 (0)