We have decided to temporarily archive this repository and place it into maintenance mode. This decision allows us to focus our efforts and resources on advancing our core product line. During this period, active development and the addition of new features will be paused. We value the contributions of the community and appreciate your understanding as we prioritize our main projects. We look forward to resuming development in the future and will keep you updated on any changes.
The Magic CocoaPods SDK version (v8.0.0) is currently out of sync with the Magic SPM package version, as we await CocoaPods to fix this compatibility issue. CocoaPods developers who wish to develop on the latest version of Xcode will need to integrate our SPM package.
As of v9.0.0
, passcodes (ie. loginWithSMS()
, loginWithEmailOTP()
) are replacing Magic Links (ie. loginWithMagicLink()
) for all of our Mobile SDKs. Learn more
- 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/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', '~> 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.xcworkspace
with XCode and try it out!