From 9fce7f618325f04334d42f6f9d2f90ab91301037 Mon Sep 17 00:00:00 2001 From: Nidal Fakhouri Date: Fri, 26 Jul 2024 15:08:44 -0400 Subject: [PATCH] Delete podspec file --- .github/workflows/deprecate-cocoapods.yaml | 19 ++++++++++++ Stytch.podspec | 36 ---------------------- 2 files changed, 19 insertions(+), 36 deletions(-) create mode 100644 .github/workflows/deprecate-cocoapods.yaml delete mode 100644 Stytch.podspec diff --git a/.github/workflows/deprecate-cocoapods.yaml b/.github/workflows/deprecate-cocoapods.yaml new file mode 100644 index 00000000000..ca346c20bc5 --- /dev/null +++ b/.github/workflows/deprecate-cocoapods.yaml @@ -0,0 +1,19 @@ +name: Deprecate Cocoapods + +on: + workflow_dispatch: + +env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} + +jobs: + deprecate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Bootstrap + uses: ./.github/actions/bootstrap + - name: Deprecate Cocoapods + run: | + set -eo pipefail + bundle exec pod trunk deprecate Stytch diff --git a/Stytch.podspec b/Stytch.podspec deleted file mode 100644 index b335b307e64..00000000000 --- a/Stytch.podspec +++ /dev/null @@ -1,36 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'Stytch' - s.version = `Scripts/version show-current`.strip - s.summary = "A Swift SDK for using Stytch's user-authentication products on Apple platforms." - s.homepage = 'https://github.com/stytchauth/stytch-ios' - s.license = { - :type => 'MIT', - :file => 'LICENSE' - } - s.authors = { - 'Dan Loman' => 'dan@stytch.com' - } - s.source = { - :git => 'https://github.com/stytchauth/stytch-ios.git', - :tag => s.version.to_s - } - - s.ios.deployment_target = '13.0' - s.osx.deployment_target = '10.15' - s.tvos.deployment_target = '13.0' - - s.swift_version = '5.5' - - s.documentation_url = "https://stytchauth.github.io/stytch-ios/documentation/stytchcore/" - - s.default_subspec = 'StytchCore' - s.static_framework = true - s.subspec 'StytchCore' do |s| - s.source_files = 'Sources/StytchCore/**/*' - s.exclude_files = "**/Documentation*/**/*" - s.dependency "RecaptchaEnterprise", "~> 18.3.0" - s.resource_bundles = { - 'StytchCore' => ['Sources/StytchCore/**/*.{html}'] - } - end -end