Skip to content

Commit fc08f4d

Browse files
authored
Update README.md for visionOS (#12293)
1 parent 0e9589c commit fc08f4d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,25 @@ To receive push notifications, follow the steps above and run the app on a physi
237237

238238
## Building with Firebase on Apple platforms
239239

240-
Firebase 8.9.0 introduced official beta support for macOS, Catalyst, and tvOS. watchOS continues
241-
to be community supported. Thanks to community contributions for many of the multi-platform PRs.
240+
Firebase 8.9.0 introduced official beta support for macOS, Catalyst, and tvOS. visionOS and watchOS
241+
are community supported. Thanks to community contributions for many of the multi-platform PRs.
242242

243243
At this time, most of Firebase's products are available across Apple platforms. There are still
244-
a few gaps, especially on watchOS. For details about the current support matrix, see
244+
a few gaps, especially on visionOS and watchOS. For details about the current support matrix, see
245245
[this chart](https://firebase.google.com/docs/ios/learn-more#firebase_library_support_by_platform)
246246
in Firebase's documentation.
247247

248+
### visionOS
249+
250+
Where supported, visionOS works as expected with the exception of Firestore via Swift Package
251+
Manager where it is required to use the source distribution.
252+
253+
To enable the Firestore source distribution, quit Xcode and open the desired
254+
project from the command line with the `FIREBASE_SOURCE_FIRESTORE` environment
255+
variable: `open --env FIREBASE_SOURCE_FIRESTORE /path/to/project.xcodeproj`.
256+
To go back to using the binary distribution of Firestore, quit Xcode and open
257+
Xcode like normal, without the environment variable.
258+
248259
### watchOS
249260
Thanks to contributions from the community, many of Firebase SDKs now compile, run unit tests, and
250261
work on watchOS. See the [Independent Watch App Sample](Example/watchOSSample).

0 commit comments

Comments
 (0)