@@ -46,6 +46,17 @@ Building and Running the testapp
46
46
sudo gem install cocoapods --pre
47
47
```
48
48
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
+
49
60
- From the testapp directory, install the CocoaPods listed in the Podfile
50
61
by running,
51
62
@@ -84,15 +95,15 @@ Building and Running the testapp
84
95
85
96
- Add the following frameworks from the Firebase C++ SDK to the project:
86
97
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
90
101
- You will need to either,
91
102
1. Check "Copy items if needed" when adding the frameworks, or
92
103
2. Add the framework path in "Framework Search Paths"
93
104
- e.g. If you downloaded the Firebase C++ SDK to
94
105
`/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/** `.
96
107
- To add the path, in XCode, select your project in the project
97
108
navigator, then select your target in the main window. Select
98
109
the "Build Settings" tab, and click "All" to see all the build
0 commit comments