2

According to the App Check Firebase Documentation, it is said to add the App Attest capability to your app. However, I am not able to find any such capability in XCode. Any insights on this?

Note: We have enabled capability in the provision profiles

Documentation Link: https://firebase.google.com/docs/app-check/ios/app-attest-provider#install-sdk

Screenshot of Documentation

Prakruth N
  • 21
  • 3

1 Answers1

3

A Firebase developer here.

Currently you need to set App Attest environment to production in your app entitlements file. You can achieve it by adding the key directly to the file or you can follow the steps below (relevant for Xcode 12.5):

  1. Open Signing & Capabilities tab in the settings of your app target
  2. Press + Capability button
  3. Select App Attest(see screenshot)
  4. Open the corresponding entitlements file usually named like YourAppTargetName.entitlements
  5. Set value production for App Attest Environment key(see screenshot)

Sorry if the docs don't contain enough details, we will try to make them more clear.

Maksym Malyhin
  • 41
  • 1
  • 1
  • 3
  • 1
    I have added the App Attest capability. Then when I set the `production` environment in the `.entitlements` file, the App Attest capability will disappear upon saving file. Then when I added the capability again, the environment changed to `development` again. Then the whole cycle repeated. So frustrating! – Zenko Dec 20 '21 at 22:33
  • Hi. I'm developing a macOS application and I don't see the `App Attest` when I click on `+ Capability`. I'm running XCode Version 13.1. Can we add AppCheck to a macOS app and distribute it? – favs Nov 30 '22 at 06:41
  • @Zenko I have the same problem. Did you fix it? – Francesco Clementi Jun 02 '23 at 15:27
  • same here, after adding App Attest, if I close Xcode and then reopen there is no App Attest. This is breaking CI builds too.... – Stathis Ntonas Jun 26 '23 at 13:27