Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Pod ref is missing for version 0.1 #4

Open
Vkt0r opened this issue Oct 12, 2016 · 11 comments
Open

Pod ref is missing for version 0.1 #4

Vkt0r opened this issue Oct 12, 2016 · 11 comments

Comments

@Vkt0r
Copy link

Vkt0r commented Oct 12, 2016

With the pull request I made before I fix the issue with the SwiftSafe.podspec, but if necessary to make the pod trunk push SwiftSafe.podspec with the respective credentials for the owner of project to be SwiftSafe available again in the Specs of Cocopoads with the correct version.

Right now is impossible to build Buildasaur because it depends of BuildaUtils that depends on SwiftSafe.

It would be great 😅 integrate the library in the Specs to continue the contribution on Buildasaur.

@Vkt0r Vkt0r closed this as completed Oct 12, 2016
@dominik-hadl
Copy link

As I mentioned in the PR I am just waiting for the ownership of the pod to get transferred to me and then I will update the trunk. 🎉

@Vkt0r
Copy link
Author

Vkt0r commented Oct 12, 2016

Yep @NickSkull I closed it. Thanks

@tomhut
Copy link

tomhut commented Feb 23, 2017

Hey @NickSkull , did you ever get ownership in the end? (Also running into this issue!)

Thanks!

@dominik-hadl
Copy link

@tomhut Hey, I did! As far as I remember I have also pushed to trunk.

What exactly is your issue? :)

@tomhut
Copy link

tomhut commented Feb 23, 2017

@NickSkull Good to hear! I'm looking to build XcodeServerSDK, which has a dependency on BuildaUtils v0.3.2 which depends on SwiftSafe 0.1 via CocoaPods. When trying to do so however the following error is generated by CocoaPods.

warning: Could not find remote branch v0.1 to clone.
fatal: Remote branch v0.1 not found in upstream origin

Any help greatly appreciated!

Update

Perhaps this could be the issue, the repo url for 0.1 seems to be pointing to an old location? And I can't seem to see the tag on the current repo.
https://github.com/CocoaPods/Specs/blob/d0ec5a65e80656c8d78e12ff19f251df879e0bc2/Specs/b/2/8/SwiftSafe/0.1/SwiftSafe.podspec.json

@dominik-hadl dominik-hadl reopened this Feb 23, 2017
@dominik-hadl
Copy link

@tomhut Reopened this.

You are right, there seems to be issues with tags/branches and outdated podspec. As far as I remember Github redirects to new repo url if you rename/transfer it.

But either way the branch/tag does not exist anymore, so I'll investigate what's necessary to fix this.

@tomhut
Copy link

tomhut commented Feb 23, 2017

@NickSkull Interesting, thanks so much!

@dominik-hadl
Copy link

dominik-hadl commented Feb 23, 2017

@tomhut I can't seem to figure out what's the best way of fixing it, since I don't use CocoaPods as often.

Either I can re-add the wrong tag on the same commit as the 1.0.0 version, or I'd have to make a patch version to cocoapods and buildautils would have to be updated.

What do you think could be a way of solving this? Should I try and add the commit that the the spec at version 0.1 specifies ("v0.1")?

@E-B-Smith
Copy link

E-B-Smith commented Mar 8, 2017

@NickSkull I think you can simply tag the correct commit, like this:

git tag 0.1 77ffd12b02678790bec1ef56a2d14ec5036f1fd6
git push
git push --tags origin master

If it doesn't work you can delete the tag.

The tag should show up here:
https://github.com/nodes-ios/SwiftSafe/releases

@dominik-hadl
Copy link

@E-B-Smith I did now, let me know if it fixed the issue :)

@E-B-Smith
Copy link

Still not good. Did you publish the podspec too? On the revision, try something like:

pod trunk push Branch.podspec

You may need to set the version in the podspec too.

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

No branches or pull requests

4 participants