Installation
Last updated
Was this helpful?
Last updated
Was this helpful?
iOS 13+
Swift 5.x
Starting from v1.0.0, changes to the storage key system may cause previously stored data to become inaccessible.
If the existing key is determined to be invalid, stored data will be automatically reset and a new key will be generated.
If the key is valid, your data will remain unchanged.
Downgrading from v1.0.0 to an earlier version may result in loss of access to previously stored data.
WepinLogin is available through . To install it, simply add the following line to your Podfile:
⚠️ Notice - Resolution for Build Errors
When building the WepinLogin library, the following error may occur:
SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
This error can be resolved by changing the "Minimum Deployment Target" setting of the secp256k1 library. Please update the "Minimum Deployment Target" setting of the secp256k1 library project to an iOS version supported by Xcode. This should resolve the build error you are encountering.
You must add the app's URL scheme to the Info.plist file. This is necessary for redirection back to the app after the authentication process.
The value of the URL scheme should be 'wepin.' + your Wepin app id
.
The released package versions can be found on the GitHub repository below.