NOTE: Firestore support is not included currently, as it depends on this fix making it into a release of firebase-ios-sdk
, which it hasn't yet.
- Download this repo
- In your project, open the directory
Assets/Firebase/Plugins
- Copy the
arm64
directory from the zip you downloaded intoAssets/Firebase/Plugins
- There should already be a directory named
x86_64
inAssets/Firebase/Plugins
. Delete it. - If your project was already open, you'll need to close and re-open it for the changes to take effect.
If you both:
- Use Unity Editor on an Apple Silicon Mac
- Use the Firebase SDK in your Unity project
...and want to use the Firebase SDK functionality from inside the editor (e.g. Realtime Database)
...you've probably noticed that this it doesn't work, because the Firebase team has not yet provided a build of the Unity SDK compiled with arm64 Unity Editor support. Fortunately, the Firebase Unity SDK is open source, which allowed me to build the SDK with arm64 Unity Editor support 🎉