Skip to content

AppCheck not working on new iPhone 14  #10561

@ian-sayles

Description

@ian-sayles

Description

When AppCheck was released we updated our app to use it, and its been working perfectly.

But just recently when some of our customers have upgraded their phones to the new iPhone14 when they run our app it does not show any data from Firestore, when on older phone it did.

The app as min 15.0.0 iOS set, and don't think its an iOS version issue, for older phones running iOS 16.1.2 work ok.

Checking the App Check API for Cloud Firestore it does show "unverified: invalid requests" when the user run our app.

What is strange if I connect the iPhone to my computer and run the app from Xcode it does work ok.
This is using a different firebase project than the production app from the App Store, but both projects are configured the same.

Does AppCheck support the latest phones from Apple?

Reproducing the issue

Code in app

let providerFactory = YourAppCheckProviderFactory()
AppCheck.setAppCheckProviderFactory(providerFactory)

class YourAppCheckProviderFactory: NSObject, AppCheckProviderFactory {
func createProvider(with app: FirebaseApp) -> AppCheckProvider? {
return AppAttestProvider(app: app)
}
}

Firebase SDK Version

9.6.0

Xcode Version

14.1

Installation Method

Swift Package Manager

Firebase Product(s)

App Check

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions