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.
loginWithMagicLink()
⚠️As of v9.0.0
, passcodes (ie. loginWithSMS()
, loginWithEmailOTP()
) are replacing Magic Links (ie. loginWithMagicLink()
) for all of our Mobile SDKs. Learn more
# demo app
$ git clone https://github.com/magiclabs/magic-ios-demo
# ios SDK
$ git clone https://github.com/magiclabs/magic-ios
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
/YOUR/PATH/TO/magic-ios-demo/magic-ios-demo.xcworkspace
with XCode and try it out!link |
Stars: 7 |
Last commit: 1 week ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics