Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPM can't find Shapes dependency #8

Open
shanecb opened this issue Feb 4, 2021 · 6 comments
Open

SPM can't find Shapes dependency #8

shanecb opened this issue Feb 4, 2021 · 6 comments

Comments

@shanecb
Copy link

shanecb commented Feb 4, 2021

SPM can't resolve the Shapes repo so installation fails. I have a theory as to why the resolution fails, but I could be totally wrong. I noticed that the URLs for the dependencies in the Package.swift file use repo names that don't match up with the current names of the repos for Shapes and bez packages. The bez package works fine with the URL in the Package.swift file, but the Shapes one doesn't, so I tried entering the URLs in my browser and sure enough https://github.com/kieranb662/bez redirects to https://github.com/kieranb662/SwiftUI-bez, but https://github.com/kieranb662/Shapes results in 404. I know GitHub redirects old repo names to the new name when a repo is renamed, but perhaps the redirect broke somehow.

Disclaimer - I'm new to SPM so this could be a silly mistake on my end

@interior-night
Copy link

interior-night commented Feb 11, 2021

I'm experiencing this as well.

@melMass
Copy link

melMass commented Aug 4, 2021

The repo does not exist anymore, same with interact

@melMass
Copy link

melMass commented Aug 4, 2021

Oh it's there it was renamed, replace the URL in the Package.swift with:

https://github.com/kieranb662/SwiftUI-Shapes

@interior-night
Copy link

@kieranb662 Has this been fixed?

@nsmith1024
Copy link

nsmith1024 commented Nov 12, 2021

not working for me either, can someone fix please?

@BoseSj
Copy link

BoseSj commented Jan 14, 2025

Saw one PR already submitted regarding this problem. But it hasn't been merged yet. I tried on my own forks, was successful to fix this issue, but just stumbled upon another.

image Screenshot 2025-01-14 at 11 43 00 PM

As we can see, what is the problem is there now,, would somebody like to work on it, or guide me if i am getting any of it wrong.

I apologize beforehand, if i have been doing something totally wrong or something, this is my first ever contribution to a Swift repo. Guide me, and please help me learn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants