[app-attest-env] Fix App Attest environment mismatch for distribution builds
com.apple.developer.devicecheck.appattest-environment was hardcoded to "development" for every build, including the App Store/TestFlight distribution build. Apple's App Attest servers validate this claim against how the app was actually signed/distributed, so a "development" claim on a real distribution build fails - guest session handshake never gets past the challenge step, no store/city data ever loads. Parameterized per configuration: development for Debug, production for Release, via an APP_ATTEST_ENVIRONMENT build setting.
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>com.apple.developer.devicecheck.appattest-environment</key>
|
||||
<string>development</string>
|
||||
<string>$(APP_ATTEST_ENVIRONMENT)</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user