diff --git a/README.md b/README.md index c3cfc46..2f848b3 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,15 @@ let basicAuth = BasicAuthCredentials(login: "myLogin", password: "myPassword") let settingsWithAuth = try? RemoteSettings(settingsJsonURLString: endpointWithAuth, basicAuth: basicAuth) ``` + +### Installation + +##### SPM +Repository: `https://github.com/numen31337/remote_settings.git`, Branch: `main` + +##### CocoaPods +`pod 'RemoteSettings', :git => 'https://github.com/numen31337/remote_settings.git'` + ### Facts - The cached data is persistent and available after the app relaunch. It uses UserDefaults to store the cached data. diff --git a/RemoteSettings.podspec b/RemoteSettings.podspec new file mode 100644 index 0000000..a99258b --- /dev/null +++ b/RemoteSettings.podspec @@ -0,0 +1,16 @@ +Pod::Spec.new do |s| + s.name = 'RemoteSettings' + s.version = '1.0.0' + s.summary = 'A self-hosted remote config.' + s.description = <<-DESC + A simple library for fetching your self-hosted remote config with caching capabilities. + DESC + + s.homepage = 'https://github.com/numen31337/remote_settings' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'Alexander Kirsch' => 'spam-reporter-3000@alexander-kirsch.com' } + s.source = { :git => 'https://github.com/numen31337/remote_settings.git', :tag => s.version.to_s } + s.source_files = 'Sources/RemoteSettings/**/*' + s.swift_version = '5.0' + s.ios.deployment_target = '9.0' +end