Swift offers a variety of ways to install packages. We fully support the Swift Package Manager.You can add the package using the https://github.com/ctrl-hub/sdk.swift URL.
You should then instantiate the config in your own application with the following code:
Copy
import CtrlHub// Read the configuration from the CtrlHubConfig.plist in your app bundle:if let configuration = CtrlHub.Config() { CtrlHub.config = configuration} else { // there are errors in the config file that you should handle}