# Auth0 Login Flow Failing on iOS Simulator (Works on Real Device)

**URL:** <https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [April 29, 2025, 2:49pm UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092 "2025-04-29T14:49:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erwan\_jestin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erwan_jestin/32/73264_2.png) [@erwan\_jestin](https://community.auth0.com/u/erwan_jestin)\
**Post date:** [April 29, 2025, 2:49pm UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092/1 "2025-04-29T14:49:57Z")

</div>

Hi!

I’m integrating the Auth0 login flow into my iOS application using Universal Links (`useHTTPS()`), and while everything works fine on a real device (iOS 18.3), it fails on the simulator.

Here’s the error I get on all simulators:

```auto
Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1 "Application with identifier .... is not associated with domain ..... Using HTTPS callbacks requires Associated Domains using the `webcredentials` service type for ....."

```

Additional context:

- Tested across multiple simulators — same error each time
- Provisioning profiles are correctly set up
- Works without issues on a physical device
- Both of the following URLs return valid output:
  - [https://app-site-association.cdn-apple.com/a/v1/YOUR\_AUTH0\_DOMAIN\_OR\_CUSTOM\_DOMAIN](https://app-site-association.cdn-apple.com/a/v1/YOUR_AUTH0_DOMAIN_OR_CUSTOM_DOMAIN)
  - https://YOUR\_AUTH0\_DOMAIN\_OR\_CUSTOM\_DOMAIN/.well-known/apple-app-site-association

Resources I’ve already checked (without success):

- [iOS Application does not Recognize Auth0 Associated Domain](https://community.auth0.com/t/ios-application-does-not-recognize-auth0-associated-domain/182920)
- [iOS Application not recognizing Auth0 Associated Domain](https://community.auth0.com/t/ios-application-not-recognizing-auth0-associated-domain/134847)

Any ideas on what could be causing this on simulators?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 30, 2025, 12:50am UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092/3 "2025-04-30T00:50:36Z")

</div>

Hi @erwan_jestin,

Welcome to the Auth0 Community!

I recommend checking out our [iOS Application does not Recognize Auth0 Associated Domain](https://community.auth0.com/t/ios-application-does-not-recognize-auth0-associated-domain/182920) knowledge article, which addresses this specific error you experienced.

Let me know if anything else comes up.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![erwan\_jestin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/erwan_jestin/32/73264_2.png) [@erwan\_jestin](https://community.auth0.com/u/erwan_jestin)\
**Post date:** [April 30, 2025, 7:24am UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092/4 "2025-04-30T07:24:10Z")

</div>

Yes, I’ve already checked everything, and the configuration appears to be correct.  
Both the Team ID and App ID are properly set up.

The issue persists even after waiting for an extended period or attempting multiple retries.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 14, 2025, 7:24am UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092/5 "2025-05-14T07:24:43Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 14, 2025, 10:34pm UTC](https://community.auth0.com/t/auth0-login-flow-failing-on-ios-simulator-works-on-real-device/186092/7 "2025-05-14T22:34:01Z")

</div>

Hi @erwan_jestin,

Thanks for the reply.

I recommend trying again with iOS 18.4 or newer, as suggested by the Apple Engineer’s comment in the knowledge article shared previously.

Let us know if you continue having issues with this.

Kind regards,  
Rueben
