Closed per2plex closed 10 years ago
Wow, this is what is great about open sourcing Frameworks. I am not that up to scratch with CocoaPods and I am still learning. Thanks!
I have merged your pull request but now when I try and install it to a new project via pod install it fails to work. The error is "_OBJC_CLASS_$_SCPStoreKitManager", referenced from:
That was the problem I had before, did you update the spec on the CocoaPods repo? I built a clean build and it's working for me you can test it by specify a Git repo directly in the podfile:
pod "SCPStoreKitManager", :git => "https://github.com/steprescott/SCPStoreKitManager"
When I try to build I get an OpenSSL compiler error. Would you know why? I have flagged it up with the repo. https://github.com/CocoaPods/Specs/issues/12143.
This happens when I try and install everything.
pod "SCPStoreKitManager/SCPStoreKitReceiptValidator", :git => "https://github.com/steprescott/SCPStoreKitManager"
OpenSSL take a long time (up to 20min) to build, try:
pod install --verbose
To see what the OpenSSL build is doing exactly, as long as no error is printed or the process quits everything should be alright.
It does compile, but does not link it to the workspace. So any reference to it in the code can not work.
I fixed the example project and created a pull request. The example project now does compile for me, including the validator, maybe that helps.
It's because your path to Podfile contains spaces. Remove it and it will work like charm.
The podspec didn't work so I fixed it, I created a subspec for the receipt validator which depends on OpenSLL, so you don't have to build OpenSSL if you just want to use the SCPStoreKitManager. I also removed all source for OpenSSL for security reasons.
I did not update the example nor the readme.
Nice work btw :)