@@ -33,6 +33,14 @@ Building and Running the testapp
33
33
sudo gem install cocoapods --pre
34
34
```
35
35
36
+ - Update the pod versions in the Podfile to match the C++ SDK version that you are using.
37
+ For instance: if you're using SDK version 8.2.0, use the following in the Podfile:
38
+
39
+ ```
40
+ pod 'Firebase/Firestore', '8.2.0'
41
+ pod 'Firebase/Auth', '8.2.0'
42
+ ```
43
+
36
44
- From the testapp directory, install the CocoaPods listed in the Podfile
37
45
by running,
38
46
@@ -71,15 +79,15 @@ Building and Running the testapp
71
79
72
80
- Add the following frameworks from the Firebase C++ SDK to the project:
73
81
74
- - frameworks/ios/universal /firebase.framework
75
- - frameworks/ ios/universal/firebase_auth .framework
76
- - frameworks/ ios/universal/firebase_firestore .framework
82
+ - xcframeworks/firebase.xcframework/ios-arm64_armv7 /firebase.framework
83
+ - xcframeworks/firebase_firestore.xcframework/ ios-arm64_armv7/firebase_firestore .framework
84
+ - xcframeworks/firebase_auth.xcframework/ ios-arm64_armv7/firebase_auth .framework
77
85
- You will need to either,
78
86
1. Check "Copy items if needed" when adding the frameworks, or
79
87
2. Add the framework path in "Framework Search Paths"
80
88
- e.g. If you downloaded the Firebase C++ SDK to
81
89
`/Users/me/firebase_cpp_sdk`, then you would add the path
82
- `/Users/me/firebase_cpp_sdk/frameworks/ios/universal `.
90
+ `/Users/me/firebase_cpp_sdk/xcframeworks/** `.
83
91
- To add the path, in XCode, select your project in the project
84
92
navigator, then select your target in the main window. Select
85
93
the "Build Settings" tab, and click "All" to see all the build
0 commit comments