Skip to content

Commit 7a4b341

Browse files
authored
Initial SPM instructions for Firebase itself (#7605)
1 parent a150769 commit 7a4b341

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ To develop Firebase software in this repository, ensure that you have at least
104104
the following software:
105105

106106
* 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
107114
* CocoaPods 1.10.0 (or later)
108115
* [CocoaPods generate](https://github.com/square/cocoapods-generate)
109116

@@ -121,7 +128,7 @@ CocoaPods workspaces.
121128
Firestore has a self contained Xcode project. See
122129
[Firestore/README.md](Firestore/README.md).
123130

124-
### Development for Catalyst
131+
#### Development for Catalyst
125132
* `pod gen {name here}.podspec --local-sources=./ --auto-open --platforms=ios`
126133
* Check the Mac box in the App-iOS Build Settings
127134
* Sign the App in the Settings Signing & Capabilities tab
@@ -136,6 +143,12 @@ Alternatively disable signing in each target:
136143
* Select `Add User-Defined Setting`
137144
* Add `CODE_SIGNING_REQUIRED` setting with a value of `NO`
138145

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+
139152
### Adding a New Firebase Pod
140153

141154
See [AddNewPod.md](AddNewPod.md).

0 commit comments

Comments
 (0)