Swiftpack.co - magiclabs/magic-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by magiclabs.
magiclabs/magic-ios {4.0.1}
MagicSDK library for IOS
⭐️ 7
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/magiclabs/magic-ios.git", from: "{4.0.1}")

MagicSDK

Version License Platform

⚠️ CocoaPods Incompatible with Xcode v14.3 ⚠️

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.

⚠️ Removal of loginWithMagicLink() ⚠️

As of v9.0.0, passcodes (ie. loginWithSMS(), loginWithEmailOTP()) are replacing Magic Links (ie. loginWithMagicLink()) for all of our Mobile SDKs⁠. Learn more

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', '~> 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
  1. Open /YOUR/PATH/TO/magic-ios-demo/magic-ios-demo.xcworkspace with XCode and try it out!

GitHub

link
Stars: 7
Last commit: 20 hours ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Related Packages

Release Notes

v10.0.1
20 hours ago
  • Fix: Tackle crash defensively in the case of an invalid signature to a keychain value

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics