Dependencies¶
This guide covers the system dependencies required for the Self SDK across different operating systems.
Note: The Self SDK currently supports macOS and Linux-based operating systems. Windows support is not available at this time.
macOS¶
The easiest way to install the Self SDK and its dependencies on macOS is through Homebrew:
Note: For more information about installing via Homebrew, you can visit Self's Homebrew tap repository.
Linux¶
Debian/Ubuntu¶
- First, add the APT repository:
- Install the SDK:
Fedora/Red Hat¶
- Add the YUM repository:
- Install the SDK:
Verifying Installation¶
After installation, you can verify that the SDK is properly installed by checking its version:
Java¶
- Add the repository:
- Add the library, available on Maven Central
- Using SNAPSHOT
You can use the development version of Java SDK, available on Maven Central Snapshots
Android¶
- Add the repository:
- Add the library, available on Maven Central
- Using SNAPSHOT
You can use the development version of Android SDK, available on Maven Central Snapshots
- Add permissions in manifest file
iOS¶
Theself_ios_sdk depend on both OpenSSL and SelfUI
The OpenSSL is a part of NFCPassportReader. It has not embedded to NFCPassportReader. So we have to embed to the application level. The SelfUI is a ui components for the self_ios_sdk. It has not embedded to the self_ios_sdk. So we have to embed it to the application too.
Installation & Usage¶
We use the Swift Package Manager to install the main sdk self_ios_sdk
self_ios_sdk¶
In your project -> Package dependencies. Click add and paste this url to the search field
main OpenSSL¶
add this
upToNextMinor -> 1.1.1900 SelfUI¶
check out the SelfUI as submodule project
NOTE: We have seen an issue about git authentication failed when pull FLAnimatedImage. A dependency in SelfUI framework. To resolve that issue we might need to change the git authentication from https to ssh to fix that.
Then drag the SelfUI.xcodeproj from the sub-project path
Build Phases -> Target Dependencies add SelfUI.framework Then
In the General tab -> Frameworks, Libraries, Embedded and Content add SelfUI with embed mode Embed & Sign
Troubleshooting¶
If you encounter any issues during installation:
- Make sure your system is up to date
- Verify that you have sufficient permissions
- Check your system's package manager is working correctly
- Ensure you have a stable internet connection