I am getting the following error when trying to integrate App Check into my iOS app.
AppCheck failed: 'The operation couldn’t be completed. The attestation provider AppAttestProvider is not supported on current platform and OS version.'
And ever since getting this error, when I try to fetch a document from Firestore, I get Missing or insufficient permissions.
even though all my ready/write security rules are set to true
.
For reference, I'm using Xcode 13, my projects settings is set to iOS 15.4, and I'm using the App Attest provider. I am pretty confident I implemented everything correctly, including:
- Installing FirebaseAppCheck (I used SPM).
- Adding App Attest capability to my app.
- In my project's
.entitlements
file, set the App Attest environment toproduction
. - Setting my app check provider factory in my app delegate before calling
FirebaseApp.configure()
. - Enabling App Check in my Firebase console.
Next Major Version
. – Stannite