Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SimlaCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaCore'
s.version = '0.1.0'
s.summary = 'Shared configuration, sessions and networking for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'Core'
Expand Down
4 changes: 2 additions & 2 deletions SimlaOnlineConsultant.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaOnlineConsultant'
s.version = '0.1.0'
s.summary = 'Chat interface for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'OnlineConsultant'
Expand Down
4 changes: 2 additions & 2 deletions SimlaPushNotificationExtension.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaPushNotificationExtension'
s.version = '0.1.0'
s.summary = 'Notification service extension support for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'PushNotificationExtension'
Expand Down
4 changes: 2 additions & 2 deletions SimlaPushService.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaPushService'
s.version = '0.1.0'
s.summary = 'Push notification registration and handling for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'PushService'
Expand Down
4 changes: 2 additions & 2 deletions SimlaRecommendations.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaRecommendations'
s.version = '0.1.0'
s.summary = 'Product recommendations for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'Recommendations'
Expand Down
4 changes: 2 additions & 2 deletions SimlaSDKConfiguration.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaSDKConfiguration'
s.version = '0.1.0'
s.summary = 'Shared backend configuration and HTTP observation for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'SDKConfiguration'
Expand Down
4 changes: 2 additions & 2 deletions SimlaSQLiteStorage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaSQLiteStorage'
s.version = '0.1.0'
s.summary = 'Shared SQLite storage for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'SQLiteStorage'
Expand Down
4 changes: 2 additions & 2 deletions SimlaTracker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ Pod::Spec.new do |s|
s.name = 'SimlaTracker'
s.version = '0.1.0'
s.summary = 'Event tracking and persistent event storage for the Simla iOS SDK.'
s.homepage = 'https://github.com/simla-tech/MobileSdkIosTest'
s.homepage = 'https://github.com/simla-tech/MobileSdkIOS'
s.license = { :type => 'Apache-2.0', :file => 'LICENSE' }
s.author = 'Simla'
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIosTest.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/simla-tech/MobileSdkIOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '15.0'
s.swift_version = '5.0'
s.module_name = 'Tracker'
Expand Down
17 changes: 14 additions & 3 deletions docs/en/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ The modules share the `Core` session.
In Xcode, select **File → Add Package Dependencies** and enter:

```text
https://github.com/simla-tech/MobileSdkIosTest.git
https://github.com/simla-tech/MobileSdkIOS.git
```

Select **Branch → main**. Installing a specific version requires a published Git tag.
Select **Exact Version → 0.1.0** for a specific release or **Branch → main** to install from the branch.

Add `Core` and the required SDK products to your application target.
For example, chat requires `Core` and `OnlineConsultant`.
Expand All @@ -69,11 +69,22 @@ platform :ios, '15.0'
use_frameworks! :linkage => :static

sdk_source = {
:git => 'git@github.com:simla-tech/MobileSdkIosTest.git',
:git => 'https://github.com/simla-tech/MobileSdkIOS.git',
:branch => 'main'
}
```

This configuration installs the SDK from the `main` branch. To install a specific release, replace `sdk_source` with:

```ruby
sdk_source = {
:git => 'https://github.com/simla-tech/MobileSdkIOS.git',
:tag => '0.1.0'
}
```

`Podfile.lock` records the installed commit. To update the SDK from the branch, run `pod update` with the names of the installed `Simla*` pods.

Choose a `target` configuration below. Each example includes all SDK dependencies required by that module.
For multiple modules, combine their lists in one `target`, declaring each pod only once.

Expand Down
17 changes: 14 additions & 3 deletions docs/ru/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ Swift-модуль / CocoaPods - Назначение
В Xcode выберите **File → Add Package Dependencies** и укажите:

```text
https://github.com/simla-tech/MobileSdkIosTest.git
https://github.com/simla-tech/MobileSdkIOS.git
```

Выберите **Branch → main**. Для подключения по версии нужен опубликованный Git-тег.
Выберите **Exact Version → 0.1.0** для конкретного выпуска или **Branch → main** для подключения из ветки.

Добавьте продукт `Core` и необходимые продукты SDK к таргету приложения.
Например, для чата — `Core` и `OnlineConsultant`.
Expand All @@ -71,11 +71,22 @@ platform :ios, '15.0'
use_frameworks! :linkage => :static

sdk_source = {
:git => 'git@github.com:simla-tech/MobileSdkIosTest.git',
:git => 'https://github.com/simla-tech/MobileSdkIOS.git',
:branch => 'main'
}
```

Этот вариант устанавливает SDK из ветки `main`. Для установки конкретного выпуска замените `sdk_source` на:

```ruby
sdk_source = {
:git => 'https://github.com/simla-tech/MobileSdkIOS.git',
:tag => '0.1.0'
}
```

`Podfile.lock` фиксирует установленный коммит. Для обновления SDK из ветки выполните `pod update` с именами подключённых `Simla*` pods.

Выберите нужный вариант `target` ниже. Каждый пример включает все зависимости SDK необходимые дляработы того или иного модуля.
Если используете несколько модулей, объедините их списки в одном `target`, указав каждый pod один раз.

Expand Down
Loading