OAuth2 icon indicating copy to clipboard operation
OAuth2 copied to clipboard

need help installing over SwiftPM

Open nissaba opened this issue 6 months ago • 3 comments

I am getting this error.

Using SwiftPM under Xcode 26: I used the link from the SwiftPM installation instructions I got this error

OAuth2: Updating from https://github.com/p2/OAuth2.git Couldn’t get the list of tags: unexpectedly did not find the new dependency in the package graph: sourceControl(identity: oauth2, location: SwiftPM.SPMPackageDependency.SourceControlLocation.remote(SwiftPM.SPMSourceControlURL(sourceControlURL: https://github.com/p2/OAuth2.git)), requirement: 5.3.5 – Next Major)

So I am not certain if I did something wrong or if it is really a bug?

nissaba avatar Aug 04 '25 02:08 nissaba

Appears to work fine for me with the older Xcode 26 beta 2. Did you try to do clean-all and then to build again?

ossus-lib avatar Aug 04 '25 08:08 ossus-lib

I am using Beta 4. I did clean the project and tried to add the package again, but I still have the same problem. To clarify, this issue occurs when adding the package to the project.

nissaba avatar Aug 04 '25 12:08 nissaba

The OAuth2App sample app uses OAuth2 as a Swift Package does that work for you?

ossus-lib avatar Aug 06 '25 07:08 ossus-lib