SignInWithAppleButton doesn't work correctly

I have a problem with the SignInWithAppleButton button. This one doesn't work when I do a normal press, but it does work when I do a long press.
It happens to me both in the simulator and in the iphone itself

Replies

I'm having the same problem. How did you solve it?

I just figured. SignInWithAppleButton was inside another view with a tap gesture that messed up the button tap. Removing it solved the problem.