diff --git a/.github/workflows/add-pod-owner.yml b/.github/workflows/add-pod-owner.yml deleted file mode 100644 index 515053320..000000000 --- a/.github/workflows/add-pod-owner.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: 'Add Pod Owner' -on: - workflow_dispatch: - inputs: - owner_email: - description: 'Owner email' - required: true - type: string - -permissions: - contents: read - -jobs: - add-owner: - runs-on: macos-26 - steps: - - uses: actions/checkout@v4 - - name: Add Owner - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - run: source Scripts/AddPodOwner.sh ${{ inputs.owner_email }} diff --git a/.github/workflows/create_release_candidate.yml b/.github/workflows/create_release_candidate.yml index 8943b9375..74022c29a 100644 --- a/.github/workflows/create_release_candidate.yml +++ b/.github/workflows/create_release_candidate.yml @@ -37,7 +37,6 @@ jobs: with: token: ${{ steps.app-token.outputs.token }} add-paths: | - *.podspec Version.resolved Sources/**/*.swift commit-message: Update version diff --git a/.github/workflows/push_podspecs.yml b/.github/workflows/push_podspecs.yml deleted file mode 100644 index 03870e074..000000000 --- a/.github/workflows/push_podspecs.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Push Podspecs -on: - release: - types: [published] - workflow_dispatch: - -permissions: - contents: read - -jobs: - push-podspecs: - runs-on: macos-26 - steps: - - uses: actions/checkout@v4 - - name: Bootstrap Project - uses: ./.github/actions/bootstrap-project - - name: Push Specs - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - run: source Scripts/PushPodspecs.sh diff --git a/ProcessOut.podspec b/ProcessOut.podspec deleted file mode 100644 index 7f955c944..000000000 --- a/ProcessOut.podspec +++ /dev/null @@ -1,16 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'ProcessOut' - s.version = '4.45.0' - s.swift_versions = ['5.9'] - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.homepage = 'https://github.com/processout/processout-ios' - s.author = 'ProcessOut' - s.summary = 'The smart router for payments. Smartly route each transaction to the relevant payment providers.' - s.source = { :git => 'https://github.com/processout/processout-ios.git', :tag => s.version.to_s } - s.frameworks = 'Foundation', 'UIKit' - s.ios.deployment_target = '15.0' - s.vendored_frameworks = "Vendor/cmark_gfm.xcframework" - s.ios.resources = 'Sources/ProcessOut/Resources/**/*' - s.source_files = 'Sources/ProcessOut/**/*.swift' - s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Xfrontend -module-interface-preserve-types-as-written' } -end diff --git a/ProcessOutCoreUI.podspec b/ProcessOutCoreUI.podspec deleted file mode 100644 index 2657924b0..000000000 --- a/ProcessOutCoreUI.podspec +++ /dev/null @@ -1,15 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'ProcessOutCoreUI' - s.version = '4.45.0' - s.swift_versions = ['5.10'] - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.homepage = 'https://github.com/processout/processout-ios' - s.author = 'ProcessOut' - s.summary = 'Reusable UI components and logic. Pod is meant to be used only with other ProcessOut pods.' - s.source = { :git => 'https://github.com/processout/processout-ios.git', :tag => s.version.to_s } - s.frameworks = 'Foundation', 'SwiftUI' - s.ios.deployment_target = '15.0' - s.ios.resources = 'Sources/ProcessOutCoreUI/Resources/**/*' - s.source_files = 'Sources/ProcessOutCoreUI/**/*.swift' - s.dependency 'ProcessOut' # todo(andrii-vysotskyi): vendor cmark_gfm.xcframework instead after UI migration is completed -end diff --git a/ProcessOutNetcetera3DS.podspec b/ProcessOutNetcetera3DS.podspec deleted file mode 100644 index 0508371b4..000000000 --- a/ProcessOutNetcetera3DS.podspec +++ /dev/null @@ -1,16 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'ProcessOutNetcetera3DS' - s.version = '4.45.0' - s.swift_versions = ['5.10'] - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.homepage = 'https://github.com/processout/processout-ios' - s.author = 'ProcessOut' - s.summary = 'Integration with Netcetera 3D Secure (3DS) mobile SDK.' - s.source = { :git => 'https://github.com/processout/processout-ios.git', :tag => s.version.to_s } - s.frameworks = 'Foundation' - s.ios.deployment_target = '15.0' - s.vendored_frameworks = 'Vendor/ThreeDS_SDK.xcframework', 'Vendor/NetceteraShim.xcframework' - s.ios.resources = 'Sources/ProcessOutNetcetera3DS/Resources/**/*' - s.source_files = 'Sources/ProcessOutNetcetera3DS/**/*.swift' - s.dependency 'ProcessOut', s.version.to_s -end diff --git a/ProcessOutUI.podspec b/ProcessOutUI.podspec deleted file mode 100644 index d426930cc..000000000 --- a/ProcessOutUI.podspec +++ /dev/null @@ -1,17 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'ProcessOutUI' - s.version = '4.45.0' - s.swift_versions = ['5.10'] - s.license = { :type => 'MIT', :file => 'LICENSE' } - s.homepage = 'https://github.com/processout/processout-ios' - s.author = 'ProcessOut' - s.summary = 'ProcessOut prebuilt UI.' - s.source = { :git => 'https://github.com/processout/processout-ios.git', :tag => s.version.to_s } - s.frameworks = 'Foundation', 'SwiftUI' - s.ios.deployment_target = '15.0' - s.ios.resources = 'Sources/ProcessOutUI/Resources/**/*' - s.source_files = 'Sources/ProcessOutUI/**/*.swift' - s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-Xfrontend -module-interface-preserve-types-as-written -enable-upcoming-feature IsolatedDefaultValues' } - s.dependency 'ProcessOut', s.version.to_s - s.dependency 'ProcessOutCoreUI', s.version.to_s -end diff --git a/Scripts/AddPodOwner.sh b/Scripts/AddPodOwner.sh deleted file mode 100755 index d0dea3e88..000000000 --- a/Scripts/AddPodOwner.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -# Validates arguments account -test $# -eq 1 - -# Add owner -for POD in "ProcessOut" "ProcessOutCoreUI" "ProcessOutUI" "ProcessOutNetcetera3DS"; do - pod trunk add-owner $POD $1 -done diff --git a/Scripts/PushPodspecs.sh b/Scripts/PushPodspecs.sh deleted file mode 100755 index 66fd5cbab..000000000 --- a/Scripts/PushPodspecs.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# Workaround to ignore false-negative [errors](https://github.com/CocoaPods/CocoaPods/issues/11621) -# that could happen when pushing podspecs. -set +e - -# Push Podspecs -for PRODUCT in "ProcessOut" "ProcessOutCoreUI" "ProcessOutUI" "ProcessOutNetcetera3DS"; do - - # This script is intended to be run on CI where cocoapods is already installed. - pod trunk push $PRODUCT.podspec --allow-warnings --synchronous -done diff --git a/Scripts/UpdateVersion.sh b/Scripts/UpdateVersion.sh index 8fd45d06e..938eeccdb 100755 --- a/Scripts/UpdateVersion.sh +++ b/Scripts/UpdateVersion.sh @@ -47,8 +47,3 @@ extension ProcessOut { } } EOF - -# Updates version in podspecs -for PRODUCT in "ProcessOut" "ProcessOutUI" "ProcessOutCoreUI" "ProcessOutNetcetera3DS"; do - sed -Ei "" "s|(s[.]version *= *)'(.*)'|\1'$VERSION'|" "$PRODUCT.podspec" -done