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

Unable to update to latest version via CocoaPods #32

Closed
tobihagemann opened this issue Sep 12, 2017 · 7 comments
Closed

Unable to update to latest version via CocoaPods #32

tobihagemann opened this issue Sep 12, 2017 · 7 comments

Comments

@tobihagemann
Copy link

tobihagemann commented Sep 12, 2017

I've noticed something really strange and I don't know if the issue is in CocoaPods or something specific on my machine.

Inside the Pods/OpenSSL-Universal/include-ios/openssl/opensslv.h file, it says

# define OPENSSL_VERSION_NUMBER  0x1000115fL
# ifdef OPENSSL_FIPS
#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.1u-fips  22 Sep 2016"
# else
#  define OPENSSL_VERSION_TEXT    "OpenSSL 1.0.1u  22 Sep 2016"
# endif
# define OPENSSL_VERSION_PTEXT   " part of " OPENSSL_VERSION_TEXT

But I was pretty sure that I installed OpenSSL-Universal in version 1.0.2.10. It even says that when running pod install: Installing OpenSSL-Universal (1.0.2.10). And inside the Podfile.lock, I can see it's listed with the correct version number:

PODS:
  - OpenSSL-Universal (1.0.2.10)

And it still seems to me like that it installed the latest 1.0.1 version (1.0.1.20 to be precise). This is so weird. Did someone successfully installed 1.0.2 of this library via CocoaPods?

I even tried pod try OpenSSL-Universal and it's also downloading 1.0.1.20 instead of the latest version 1.0.2.10. Any ideas?

Edit: I'm running CocoaPods 1.3.1.

@krzyzanowskim
Copy link
Owner

bloody Cocoapods versioning. If you specify exact version in Podfile, it should work.

@tobihagemann
Copy link
Author

Hm, I tried that. Did a pod cache clean OpenSSL-Universal, deleted the Pods directory, changed the Podfile entry to pod 'OpenSSL-Universal', '1.0.2.10', and did a pod update. Still the same. 😭

This is btw the project I'm having issues with: cryptomator/cryptomator-objc-cryptor

Oh well, I'll submit an issue on CocoaPods then. Thank you for your quick response! 👍

@tobihagemann
Copy link
Author

I was about to write an issue on CocoaPods but I noticed that maybe the tag is wrong.

Following this link: https://github.com/krzyzanowskim/OpenSSL/releases/tag/1.0.2.10

It's tagged at this commit: https://github.com/krzyzanowskim/OpenSSL/tree/b055c4ba439e4ddef3ec949d3b72e4684686cc6a

And yeah, it's the old version: https://github.com/krzyzanowskim/OpenSSL/blob/b055c4ba439e4ddef3ec949d3b72e4684686cc6a/include-ios/openssl/opensslv.h

So it's probably not a CocoaPods issue after all. 😅

@krzyzanowskim
Copy link
Owner

krzyzanowskim commented Sep 13, 2017

thanks for the investigation . I'll fix it first thing in the morning

@tobihagemann
Copy link
Author

ping 😁

@tobihagemann
Copy link
Author

Sorry for bothering you, @krzyzanowskim. Of course, I could change my library to get the latest version of your library's master branch and "fix" it by myself. But I thought it would be cleaner if you could fix the 1.0.2.10 tag by re-adding it to the correct commit. I'd appreciate it very much!

@krzyzanowskim
Copy link
Owner

moved. therefore I can close this epic ticket ;))) thanks and have a good day.

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

2 participants