SweetHMAC icon indicating copy to clipboard operation
SweetHMAC copied to clipboard

SweetHMAC 1.1 not in Cocoapods

Open GavinPacini opened this issue 8 years ago • 2 comments

Hi there,

I have modified my Podfile to include pod 'SweetHMAC', '~> 1.1' however I still get an error that says

[!] Unable to satisfy the following requirements:

- 'SweetHMAC (~> 1.1)' required by 'Podfile'

When running pod install. It seems SweetHMAC 1.1 is not updated in Cocoapods as if I change it to 1.0, it works (however then I have problems with Common Crypto).

Could you help with this please?

Thanks!

GavinPacini avatar Mar 03 '16 00:03 GavinPacini

Hey @GavinThePacMan,

Thanks to report this issue. Actually I can't figure out how to fix this issue, because the trick behind it is, to map commoncrypto lib properly, since this lib is not accessible by Swift directly.

I not sure if this is a Cocoapods limitation or is about something I should do in my podspecs.

I know this is not ideal world, but you can use SweetHMAC out of dependency manager if you follow the instructions in README file.

Anyway I still looking for make this project full compatible with Cocoapods :)

Cheers,

jancassio avatar Mar 03 '16 13:03 jancassio

Hi @jancassio,

Many thanks for your reply. I ended up going ahead and adding it as described in the readme with the Framework file and xcodeproj. It's working perfectly, thank you!

It's a pity about Cocoapods. Hopefully you can get it to work eventually! My experience with Cocoapods is limited so unfortunately I can't help.

Best of luck

GavinPacini avatar Mar 03 '16 14:03 GavinPacini