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

Different spec checksum for each developer #121

Closed
hbali opened this issue Mar 3, 2025 · 3 comments · Fixed by #122
Closed

Different spec checksum for each developer #121

hbali opened this issue Mar 3, 2025 · 3 comments · Fixed by #122

Comments

@hbali
Copy link

hbali commented Mar 3, 2025

Hello!

This PR has added support for SPM which is great but this came with a change in the podspec:

s.source = { :http => 'file:' + __dir__ }

AFAIK __dir__ refers to the local file system and making a checksum of it will depend on the machine itself. So this gives each developer a different Podfile.lock which breaks our current flow.

My question:

  • Was this an intentional change? Is there any way to add support to SPM without referring to local file system?

We are not planning to migrate to SPM just yet so if there is any other solution you might think of it would be helpful!

@onevcat
Copy link
Member

onevcat commented Mar 3, 2025

That is unintended!

I will check and give it a patch soon. Thanks for reporting this.

@hbali
Copy link
Author

hbali commented Mar 4, 2025

Appreciate it, thank you!

@onevcat
Copy link
Member

onevcat commented Mar 5, 2025

Fixed in version 2.5.1.

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

Successfully merging a pull request may close this issue.

2 participants