MagicSDK
Cocoapods
Set up the local development env
- 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- To enable the demo use the local development SDK. Navigate to
magic-ios-demo/Podfileand edit the following lines. This will make pod file install local dependencies instead of the ones distributed.
# Distributed Library on Cocoapods
# pod 'MagicSDK', '~> 4.0'
# pod 'MagicExt-OAuth', '~> 1.0'
# 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- Open
/YOUR/PATH/TO/magic-ios-demo/magic-ios-demo.xcworkspacewith XCode and try it out!