From f302316e3bd2a709b076a469efc67006458197e0 Mon Sep 17 00:00:00 2001 From: msoumya-engg-sdk Date: Mon, 2 Feb 2026 18:07:56 +0530 Subject: [PATCH] REL-2749: Removed prepare_command to allow cocoapods publish --- CHANGELOG.md | 9 ++++----- MoEngagePluginBase.podspec | 7 ------- Package.swift | 2 +- .../MoEngagePluginConstants+Version.swift | 2 +- package.json | 4 ++-- 5 files changed, 8 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d1142f..e9a9689 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,9 @@ -# 02-02-2026 +# Release Date -## 6.8.0 +## Release Version -- Updated MoEngage-iOS-SDK to 10.10.0 -- Added no-code SDK file based initialization -- Updated CD token usage +- [minor] Added no-code SDK file based initialization +- [NA] Updated CD token usage # 18-11-2025 diff --git a/MoEngagePluginBase.podspec b/MoEngagePluginBase.podspec index 0953e87..2ca31ce 100644 --- a/MoEngagePluginBase.podspec +++ b/MoEngagePluginBase.podspec @@ -41,13 +41,6 @@ Pod::Spec.new do |s| s.dependency 'MoEngage-iOS-SDK', config.sdkVerMin s.dependency 'MoEngage-iOS-SDK/InApps' - version_file = "Sources/#{s.name}/MoEngagePluginConstants+Version.swift" - s.prepare_command = <<-CMD - echo "// Generated file, do not edit\n" > #{version_file} - echo "import Foundation\n" >> #{version_file} - echo "extension MoEngagePluginConstants {\n static let version = \\"#{s.version}\\"\n}" >> #{version_file} - CMD - test_file_glob = "Tests/#{s.name}Tests/**/*.{swift}" s.test_spec 'Tests' do |ts| ts.ios.deployment_target = '13.0' diff --git a/Package.swift b/Package.swift index 1df85c9..171232c 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/moengage/apple-sdk.git", exact: "10.10.0") + .package(url: "https://github.com/moengage/apple-sdk.git", exact: "10.08.0") ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/Sources/MoEngagePluginBase/MoEngagePluginConstants+Version.swift b/Sources/MoEngagePluginBase/MoEngagePluginConstants+Version.swift index f4d733e..a2039f0 100644 --- a/Sources/MoEngagePluginBase/MoEngagePluginConstants+Version.swift +++ b/Sources/MoEngagePluginBase/MoEngagePluginConstants+Version.swift @@ -2,5 +2,5 @@ import Foundation extension MoEngagePluginConstants { - static let version = "6.8.0" + static let version = "6.7.0" } diff --git a/package.json b/package.json index 94ec16c..c495cdd 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "MoEngagePluginBase", "postBuild": "Utilities/post_build.rb", - "sdkVerMin": "10.10.0", + "sdkVerMin": "10.08.0", "packages": [ { "name": "MoEngagePluginBase", - "version": "6.8.0", + "version": "6.7.0", "changelog": "CHANGELOG.md", "tagPrefix": "pluginBase-" }