From aafe8a60643995e65b4c6b0f1ec0314eb5c200a8 Mon Sep 17 00:00:00 2001 From: UriyDevyataev <91690559+UriyDevyataev@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:16:49 +0700 Subject: [PATCH 1/2] podspec --- SimlaCore.podspec | 4 ++-- SimlaOnlineConsultant.podspec | 4 ++-- SimlaPushNotificationExtension.podspec | 4 ++-- SimlaPushService.podspec | 4 ++-- SimlaRecommendations.podspec | 4 ++-- SimlaSDKConfiguration.podspec | 4 ++-- SimlaSQLiteStorage.podspec | 4 ++-- SimlaTracker.podspec | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/SimlaCore.podspec b/SimlaCore.podspec index 6d44118..6a2c80d 100644 --- a/SimlaCore.podspec +++ b/SimlaCore.podspec @@ -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' diff --git a/SimlaOnlineConsultant.podspec b/SimlaOnlineConsultant.podspec index f5c9e58..e9dcea9 100644 --- a/SimlaOnlineConsultant.podspec +++ b/SimlaOnlineConsultant.podspec @@ -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' diff --git a/SimlaPushNotificationExtension.podspec b/SimlaPushNotificationExtension.podspec index 2be15a8..09bef2d 100644 --- a/SimlaPushNotificationExtension.podspec +++ b/SimlaPushNotificationExtension.podspec @@ -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' diff --git a/SimlaPushService.podspec b/SimlaPushService.podspec index 6d81f97..07a8627 100644 --- a/SimlaPushService.podspec +++ b/SimlaPushService.podspec @@ -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' diff --git a/SimlaRecommendations.podspec b/SimlaRecommendations.podspec index 3145280..4a7daa5 100644 --- a/SimlaRecommendations.podspec +++ b/SimlaRecommendations.podspec @@ -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' diff --git a/SimlaSDKConfiguration.podspec b/SimlaSDKConfiguration.podspec index 511a9e6..aafde6b 100644 --- a/SimlaSDKConfiguration.podspec +++ b/SimlaSDKConfiguration.podspec @@ -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' diff --git a/SimlaSQLiteStorage.podspec b/SimlaSQLiteStorage.podspec index 02b2224..c983392 100644 --- a/SimlaSQLiteStorage.podspec +++ b/SimlaSQLiteStorage.podspec @@ -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' diff --git a/SimlaTracker.podspec b/SimlaTracker.podspec index 37aac00..f49e4be 100644 --- a/SimlaTracker.podspec +++ b/SimlaTracker.podspec @@ -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' From 104b2c88aa370594f3abeabc3bec28f38ceec217 Mon Sep 17 00:00:00 2001 From: UriyDevyataev <91690559+UriyDevyataev@users.noreply.github.com> Date: Thu, 29 Oct 2026 17:18:56 +0700 Subject: [PATCH 2/2] podspec readme --- docs/en/sdk.md | 17 ++++++++++++++--- docs/ru/sdk.md | 17 ++++++++++++++--- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/docs/en/sdk.md b/docs/en/sdk.md index 9b9c06d..8555e6d 100644 --- a/docs/en/sdk.md +++ b/docs/en/sdk.md @@ -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`. @@ -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. diff --git a/docs/ru/sdk.md b/docs/ru/sdk.md index d08935b..fdd1912 100644 --- a/docs/ru/sdk.md +++ b/docs/ru/sdk.md @@ -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`. @@ -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 один раз.