SCPStoreKitManager icon indicating copy to clipboard operation
SCPStoreKitManager copied to clipboard

allow using the pod together with 'use_frameworks!'

Open adrian-gierakowski opened this issue 8 years ago • 1 comments

having OpenSSL as dependency causes the following problem ( can't use it together with if we specify 'use_frameworks!' in the podfile ): https://github.com/CocoaPods/CocoaPods/issues/3583

since in order to user pods written in Swift it is necessary to add 'use_frameworks!' in the podfile, it makes it impossible to SCPStoreKitManager and Swift pods in the same project

it seems like using BoringSSL could solve the problem: https://cocoapods.org/pods/BoringSSL https://github.com/grpc/grpc/pull/4235

thanks!

adrian-gierakowski avatar May 14 '16 21:05 adrian-gierakowski

seems like BoringSSL is missing some functionality required by SCPStoreKitManager ( PKCS7 )

for now our workaround is to include source of SCPStoreKitManager directly into our tree ( instead of adding the pod ) and then add OpenSSL pod on the pdofile. OpenSSL imports in SCPStoreKitManager have to be changed to use framework paths ( eg. : #import "x509.h -> #import <OpenSSL/x509.h> )

adrian-gierakowski avatar May 17 '16 13:05 adrian-gierakowski