Simulating cross-device passkey sign in?

It seems cross-device passkey authentication isn't supported by the Simulator, is that right? I can't tell if it's the simulator not supporting it, or my app/server failing.

My app, running in the Simulator, presents a QR code during sign-in flow. I scan that with my phone, and it just spins "connecting…".

Can anyone confirm that the Simulator just doesn't support this?

What are my options for testing this flow? I guess I need another device not sign in to my AppleID.

Replies

This flow is not supported in Simulator, unfortunately. However if your passkey flows work fine on-device, you generally shouldn't need to do much testing of this flow separately as the responses will be nearly identical.

  • I like trying stuff out via unit or UI test, and automating functionality tests to help prevent regressions.

    But in this case, it's quite hard to test on device. I need two devices, and one probably needs to not be signed in to the same AppleID.

Add a Comment