Skip to content

This is a sample for iOS beginners to integrate with CircleProgrammableWalletSDK.

Notifications You must be signed in to change notification settings

wanjia-xu/programmable-wallet-sdk-ios-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

programmable-wallet-sdk-ios-sample

This is a sample project for iOS beginners to integrate with CircleProgrammableWalletSDK.


Requirements

Xcode

Install Apple’s Xcode development software: Xcode in the Apple App Store.

CocoaPods

CocoaPods is a dependency manager for iOS projects. Install CocoaPods by Homebrew. (suggested)

Check if Homebrew is installed:

$ brew

How to install Homebrew in MacOS: Link

SSH key

Shared SSH key for PW SDK Hackathon

  1. $ vi ~/.ssh/{your SSH key name}, then paste the private key
  2. $ chmod 400 ~/.ssh/{your SSH key name}
  3. Open your ~/.ssh/config file, then modify the file to contain the following lines.
    Host bitbucket.com
      AddKeysToAgent yes
      UseKeychain yes
      IdentityFile ~/.ssh/{your SSH key name}
    
  4. $ ssh-add --apple-use-keychain ~/.ssh/{your SSH key name}
  5. $ ssh -T [email protected] to try the connection

How to setup an exist SSH key? : see this

Installation

  1. Clone this repo
  2. Open project folder $ cd programmable-wallet-sdk-ios-sample
  3. Run $ pod install to install CircleProgrammableWalletSDK
  4. Run $ pod update to update CircleProgrammableWalletSDK (Optional)
  5. Open the programmable-wallet-sdk-ios-sample.xcworkspace in Xcode

Run the project

  1. Put your APP ID in the WalletSdkAdapter image

  2. Select a simulator as run target

  3. press Run button (Command + R) image

About

This is a sample for iOS beginners to integrate with CircleProgrammableWalletSDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published