Universal Login for Auth0.swift doesn't work with the simulator?

Given the changes, we followed the guidance in the Auth0.swift documentation to add associated domains, configure our team ID and bundle ID in the Auth0 dashboard, and add the useHttps() line to the swift code.

The first bit of feedback is that the documentation doesn’t mention updating provisioning profiles to include the associated-domains entitlement. It should.

After doing that, we managed to get it working when running the app on device. But it doesn’t work on the simulator at all, despite the documentation suggesting that it should.

I’d like to confirm if running on the simulator is at all possible. Has anyone managed this? When we try to run on the simulator now, we just get a blank web view that makes the entire app unresponsive. No error logs. Not an ideal experience, even if we have made a mistake with the configuration somewhere.

Hi @wrightak

Welcome back to the Auth0 Community!

Could you let me know what kind of version of iOS are you trying to run the environment on? If it is version 18 or 18.1, could you try upgrading it to 18.2 or try it on a different environment running on version 17?

Kind Regards,
Nik

Hi @wrightak

Since I haven’t heard back from you for a while, I will be marking my previous reply as a solution. You can remove the solution before the topic closes automatically if you still experience issues or you can always post again and reference this post.

Kind Regards,
Nik