/magic-ios

MagicSDK library for IOS

Primary LanguageSwiftMIT LicenseMIT

MagicSDK

CI Status Version License Platform

Cocoapods

Set up the local development env

  1. To start the demo app with local development SDK, download following projects
# demo app
$ git clone https://github.com/magiclabs/magic-ios-demo
# ios SDK
$ git clone https://github.com/magiclabs/magic-ios
  1. To enable the demo use the local development SDK. Navigate to magic-ios-demo/Podfile and edit the following lines. This will make pod file install local dependencies instead of the ones distributed.
# Distributed Library on Cocoapods
# pod 'MagicSDK', '~> 3.0'
# pod 'MagicExt-OAuth', '~> 0.8'
    
#   Local development library
pod 'MagicSDK', :path => '../magic-ios/MagicSDK.podspec'
pod 'MagicExt-OAuth', :path => '../magic-ios-ext/MagicExt-OAuth.podspec'
$ cd /YOUR/PATH/TO/magic-ios-demo

# Install dependencies
$ pod install
  1. Open /YOUR/PATH/TO/magic-ios-demo/magic-ios-demo.xcworkspace with XCode and try it out!