The monorepo for Logto SDKs and social plugins written in Swift. heck out our docs for more information.
Since Xcode 11, you can directly import a swift package w/o any additional tool. Use the following URL to add Logto SDKs as a dependency:
https://github.com/logto-io/swift.git
Carthage needs a xcodeproj
file to build, but swift package generate-xcodeproj
will report a failure since we are using binary targets for native social plugins. We will try to find a workaround later.
CocoaPods does not support local dependency and monorepo, thus it's hard to create a .podspec
for this repo.
Name | Description |
---|---|
Logto | Logto swift core. |
LogtoClient | Logto swift client. |
LogtoSocialPlugin | Social plugin foundation for LogtoClient. |
LogtoSocialPluginWeb | Social plugin for OAuth-like web IdPs. |
LogtoSocialPluginAlipay | Social plugin for Alipay sign in. |
LogtoSocialPluginWechat | Social plugin for WeChat sign in. |
In most cases, you only need to import LogtoClient
, which includes Logto
and LogtoSocialPluginWeb
under the hood.
The related plugin is required when you integrate a native connector.