PKCE Error when my 'Application Type' is 'Native'

I went through the Quick Start to set up the OAuth for the native iOS app. The application is set to be native but I got this error message in the XCode:
“Unable to perform authentication with PKCE. Enable PKCE support in the settings page of the Auth0 application, by setting the ‘Application Type’ to ‘Native’.”

Not sure why

Hi @qianwen,

Welcome to the Auth0 Community and thank you for your post !

Even though Native Apps can not securely store client secrets, so implicitly the Application Authentication should already be set to “None”, this is for most cases the cause of the issue when dealing with this error message. Manually changing it might actually do the trick.

This can be accomplished using the Dynamic Client Registration method from the Management API by making a POST request and passing the token_endpoint_auth_method with the value none.

I hope this helps and you can let me know if that was the case.
Best regards,
Remus