VirgilSecurity / virgil-sdk-x

Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.
https://virgilsecurity.com/
Other
27 stars 5 forks source link

Carthage or Manual Installation support? #5

Closed sirvon closed 7 years ago

sirvon commented 7 years ago

How can I use this lib as a manually installed framework or with carthage?

thanks for the service

SanjoDeundiak commented 7 years ago

@sirvon at this moment CocoaPods is the only officially supported way of distribution. However, you can build frameworks on your own. You will need two frameworks:

  1. VirgilSDK https://github.com/VirgilSecurity/virgil-sdk-x
  2. VirgilCrypto https://github.com/VirgilSecurity/virgil-foundation-x I recommend pulling last available versions using git tags.

Inside repositories you will find XCode projects/workspaces with Framework targets which should be built without any problems. But, if you want to run your application on both device and simulator, likely you will need to build framework separately for simulator and iOS and then combine binaries into 'fat' framework, more about this topic can be found on the internet, for example here: http://stackoverflow.com/questions/29634466/how-to-export-fat-cocoa-touch-framework-for-simulator-and-device

P.S. I recommend using CocoaPods, so you can get all security updates in time.

SanjoDeundiak commented 7 years ago

@sirvon as of version 4.2.0 Virgil SDK can be installed using Carthage