I'm trying to encrypt strings in RubyMotion - ideally AES but weaker/older cyphers such as Blowfish should do just fine.
So far I have failed at compiling a couple of pods: RNCrypto and CommonCrypto.
Suggestions? Anyone else tried these pods?
Thank you, Adrian
If you're having trouble compiling CocoaPods, make sure you run a rake clean. CocoaPods should work fine with RubyMotion as far as I know.
EDIT: Since the OP hasn't posted his solution as the answer, I'll post it here:
RNCryptor doesn't build for iOS6, and there's a pull for ARC compatibility but not yet integrated in the pod.
As for CommonCrypto, it has an example.m file showcasing its capabilities. This example.m includes a main function which clashes with the one created by RubyMotion. By deleting it, I've managed to make it compile successfully.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With