From f643e5f6ecced2cff33ac6804639fd9641e43578 Mon Sep 17 00:00:00 2001 From: Ross Schulman Date: Tue, 21 Jan 2025 14:19:13 -0500 Subject: [PATCH] Remove CocoaPods publication (#99) --- .github/workflows/cd.yml | 14 -------------- SpruceIDMobileSdk.podspec | 26 -------------------------- 2 files changed, 40 deletions(-) delete mode 100644 SpruceIDMobileSdk.podspec diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1f88800..58f3b2a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,17 +14,3 @@ jobs: - name: Validate tag is valid run: | echo "${{ github.ref_name }}" | grep -P '^[0-9]+\.[0-9]+\.[0-9]+' - - name: Validate tag matches podspec version - run: | - cat SpruceIDMobileSdk.podspec | grep -P "${{ github.ref_name }}" - - main: - runs-on: macos-latest - needs: validation - steps: - - uses: actions/checkout@v4 - - name: Publish to CocoaPod register - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - run: | - pod trunk push SpruceIDMobileSdk.podspec --synchronous diff --git a/SpruceIDMobileSdk.podspec b/SpruceIDMobileSdk.podspec deleted file mode 100644 index 0b56818..0000000 --- a/SpruceIDMobileSdk.podspec +++ /dev/null @@ -1,26 +0,0 @@ -Pod::Spec.new do |spec| - spec.name = "SpruceIDMobileSdk" - spec.version = "0.5.0" - spec.summary = "Swift Mobile SDK." - spec.description = <<-DESC - SpruceID Swift Mobile SDK. - DESC - spec.homepage = "https://github.com/spruceid/mobile-sdk-swift" - spec.license = { :type => "MIT & Apache License, Version 2.0", :text => <<-LICENSE - Refer to LICENSE-MIT and LICENSE-APACHE in the repository. - LICENSE - } - spec.author = { "Spruce Systems, Inc." => "hello@spruceid.com" } - spec.platform = :ios - spec.swift_version = '5.9' - - spec.ios.deployment_target = '14.0' - - spec.source = { :git => "https://github.com/spruceid/mobile-sdk-swift.git", :tag => "#{spec.version}" } - spec.source_files = "Sources/MobileSdk/*.swift" - - spec.static_framework = true - spec.dependency 'SpruceIDMobileSdkRs', "~> 0.7.0" - spec.dependency 'SwiftAlgorithms', "~> 1.0.0" - spec.frameworks = 'Foundation', 'CoreBluetooth', 'CryptoKit' -end