OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

Use of unresolved identifier 'OAuth2Authorizer/OAuth2CustomAuthorizer' on WatchOS

Open RolandasRazma opened this issue 6 years ago • 2 comments

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'

RolandasRazma avatar Sep 25 '19 15:09 RolandasRazma

There is no watchOS target as of today indee.

ossus-lib avatar Feb 09 '20 06:02 ossus-lib

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.

dfrobese avatar May 17 '21 15:05 dfrobese