Hi Karan, I have completed your guide and everything seems to be forking when it comes to xCode and the Apple Developer Console at least. But when I try to login using the simulator I get the error that the device is not supported, encouraging me to use the value of appleAuth.isSupported to check the device before hand. The thing is, the simulator is version 13.4.1 so it should work. Do you know what might be the issue?
Hey, this is not an issue with your code. This is expected as apple doesn’t allow services like apple login, push notifications, apple pay from simulator. I also faced this in the past and had to test on my friends phone until I bought a new ios 13 device . Unfortunately you’ll need a real iOS device to test. I think it’s good to use isSupported property to prevent crashes. Hopefully this helps you
Hi Karan, I have completed your guide and everything seems to be forking when it comes to xCode and the Apple Developer Console at least. But when I try to login using the simulator I get the error that the device is not supported, encouraging me to use the value of appleAuth.isSupported to check the device before hand. The thing is, the simulator is version 13.4.1 so it should work. Do you know what might be the issue?
Hey, this is not an issue with your code. This is expected as apple doesn’t allow services like apple login, push notifications, apple pay from simulator. I also faced this in the past and had to test on my friends phone until I bought a new ios 13 device . Unfortunately you’ll need a real iOS device to test. I think it’s good to use isSupported property to prevent crashes. Hopefully this helps you
Oh, thank you, I will try that. That saved me some headache !
No issues, glad this article helped you