Follow these steps to run the Fordefi iOS mobile SDK.
-
Install cocoapods-art:
sudo gem install cocoapods-art
-
Configure CocoaPods to use cocoapods-art with the correct URL for cryptomobile:
COCOAPODS_ART_CREDENTIALS="username:password" pod repo-art add crypto-mobile-ios https://fordefi.jfrog.io/artifactory/api/pods/crypto-mobile-ios
-
Add a reference to
fordefi-ios-sdk
in yourPodfile
plugin 'cocoapods-art', :sources => [ 'fordefi-ios-sdk' ] ... pod 'FordefiSdk', '1.0.73'
-
Install the required pods, including Signing.framework:
`COCOAPODS_ART_CREDENTIALS="username:password" pod install`
If you require the Fordefi Backup Provider SDK, perform these additional steps:
-
Install the plugin
cocoapods-user-defined-build-types
and enable it by adding inPodfile
:plugin 'cocoapods-user-defined-build-types' enable_user_defined_build_types!
-
Add dependencies into
Podfile
forGoogleSignIn
,GoogleAPIClientForREST/Drive
andFordefiBackupCloudProvidersSdk
pod 'GoogleSignIn', '7.0.0', :build_type => :dynamic_framework
pod 'GoogleAPIClientForREST/Drive', '3.1.0', :build_type => :dynamic_framework
pod 'FordefiBackupCloudProvidersSdk', '1.0.73'