@@ -104,6 +104,13 @@ To develop Firebase software in this repository, ensure that you have at least
104
104
the following software:
105
105
106
106
* Xcode 12.0 (or later)
107
+
108
+ CocoaPods is still the canonical way to develop, but much of the repo now supports
109
+ development with Swift Package Manager.
110
+
111
+ ### CocoaPods
112
+
113
+ Install
107
114
* CocoaPods 1.10.0 (or later)
108
115
* [ CocoaPods generate] ( https://github.com/square/cocoapods-generate )
109
116
@@ -121,7 +128,7 @@ CocoaPods workspaces.
121
128
Firestore has a self contained Xcode project. See
122
129
[ Firestore/README.md] ( Firestore/README.md ) .
123
130
124
- ### Development for Catalyst
131
+ #### Development for Catalyst
125
132
* ` pod gen {name here}.podspec --local-sources=./ --auto-open --platforms=ios `
126
133
* Check the Mac box in the App-iOS Build Settings
127
134
* Sign the App in the Settings Signing & Capabilities tab
@@ -136,6 +143,12 @@ Alternatively disable signing in each target:
136
143
* Select ` Add User-Defined Setting `
137
144
* Add ` CODE_SIGNING_REQUIRED ` setting with a value of ` NO `
138
145
146
+ ### Swift Package Manager
147
+ * ` open Package.swift ` or double click ` Package.swift ` in Finder.
148
+ * Xcode will open the project
149
+ * Choose a scheme for a library to build or test suite to run
150
+ * Choose a target platform by selecting the run destination along with the scheme
151
+
139
152
### Adding a New Firebase Pod
140
153
141
154
See [ AddNewPod.md] ( AddNewPod.md ) .
0 commit comments