-
Notifications
You must be signed in to change notification settings - Fork 450
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
Support dynamic libraries #170
Comments
I'm not 100% sure what the issue here is. I tried to use a local RMStore podspec where I tried to use OpenSSL-Universal. I'll receive the same static binary error. |
I'm running into the same problem. @sust86 How did you work around this? |
Unfortunately I don't have a nice solution but I found a way to use the ReceiptVerificator with dynamic libraries for now. |
I got this working by using OpenSSL-iOS and changing the subspec for AppReceiptVerificator to this:
However, I'm not sure this is the right approach. Any guidance is welcome. |
Updated OpenSSL dependency in AppReceiptVerificator to support dynamic frameworks in Swift. Based on the issue here: robotmedia#170 (comment)
Would love a proper fix to this, it's blocking us from being able to change to |
subscribing |
Any updates on this? |
Still no update ? |
Updated OpenSSL dependency in AppReceiptVerificator to support dynamic frameworks in Swift. Based on the issue here: robotmedia#170 (comment)
For receipt verification it's required to add 'RMStore/AppReceiptVerificator' pod. This requires OpenSSL and will automatically add OpenSSL as a pod. The OpenSSL library RMStoreVerifcation depends on doesn't work as dynamic library. Adding use_frameworks! in the Podfile will result in an error:
[!] The 'Pods-appname' target has transitive dependencies that include static binaries: (/Users/user/Development/appname.ios/Pods/OpenSSL/lib/libcrypto.a and /Users/user/Development/appname.ios/Pods/OpenSSL/lib/libssl.a)
I switched to OpenSSL-Universal (https://github.com/krzyzanowskim/OpenSSL) which works when using dynamic libraries.
Can we update RMStores podspec file to use OpenSSL-Universal instead of OpenSSL ?
The text was updated successfully, but these errors were encountered: