OAuth2
OAuth2 copied to clipboard
Use of unresolved identifier 'OAuth2Authorizer/OAuth2CustomAuthorizer' on WatchOS
Added to WatchOS target using swift PM, but getting "Use of unresolved identifier 'OAuth2Authorizer'/OAuth2CustomAuthorizer" error
/OAuth2/Sources/Flows/OAuth2.swift:80:16: Use of unresolved identifier 'OAuth2Authorizer' /OAuth2/Sources/Flows/OAuth2PasswordGrant.swift:70:61: Use of unresolved identifier 'OAuth2CustomAuthorizer'
There is no watchOS target as of today indee.
I have the same problem and it looks like it is caused by the inclusion of "watchOS" at the platform section in the package.swift file. Because OAuth2 does not support watchOS it has to be removed.