From 62bbd80d24eb37e6b4b700770189638b18ffdd45 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/release.yml | 11 ----------- Cargo.lock | 2 +- SpruceIDMobileSdkRs.podspec | 25 ------------------------ SpruceIDMobileSdkRsRustFramework.podspec | 21 -------------------- 4 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 SpruceIDMobileSdkRs.podspec delete mode 100644 SpruceIDMobileSdkRsRustFramework.podspec diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 918ae1e..d505fda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,10 +58,6 @@ jobs: run: | sed -i '' 's/"https.*/"https:\/\/github.com\/spruceid\/mobile-sdk-rs\/releases\/download\/${{ github.event.inputs.version }}\/RustFramework.xcframework.zip",/' Package.swift sed -i '' 's/checksum.*/checksum: "${{ env.XCF_CHECKSUM }}"),/' Package.swift - - name: Update Cocoapods definitions - run: | - sed -i '' -r 's/[0-9]+.[0-9]+.[0-9]+/${{ github.event.inputs.version }}/' SpruceIDMobileSdkRsRustFramework.podspec - sed -i '' -r 's/[0-9]+.[0-9]+.[0-9]+/${{ github.event.inputs.version }}/' SpruceIDMobileSdkRs.podspec - name: Push changes and tag run: | @@ -80,13 +76,6 @@ jobs: tag: ${{ github.event.inputs.version }} name: ${{ github.event.inputs.version }} - - name: Publish to CocoaPod register - env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - run: | - pod trunk push SpruceIDMobileSdkRsRustFramework.podspec - pod trunk push SpruceIDMobileSdkRs.podspec --synchronous - kotlin: runs-on: ubuntu-latest needs: validation diff --git a/Cargo.lock b/Cargo.lock index 931d9a1..3bc6d2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3262,7 +3262,7 @@ dependencies = [ [[package]] name = "mobile-sdk-rs" -version = "0.7.0" +version = "0.8.1" dependencies = [ "android_logger", "anyhow", diff --git a/SpruceIDMobileSdkRs.podspec b/SpruceIDMobileSdkRs.podspec deleted file mode 100644 index ae2d0de..0000000 --- a/SpruceIDMobileSdkRs.podspec +++ /dev/null @@ -1,25 +0,0 @@ -Pod::Spec.new do |spec| - spec.name = "SpruceIDMobileSdkRs" - spec.version = "0.8.1" - spec.summary = "Rust-generated Swift Mobile SDK." - spec.description = <<-DESC - Rust layer for the Swift Mobile SDK. - DESC - spec.homepage = "https://github.com/spruceid/mobile-sdk-rs" - 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.static_framework = true - spec.source = { :git => "https://github.com/spruceid/mobile-sdk-rs.git", :tag => "#{spec.version}" } - spec.source_files = "MobileSdkRs/Sources/MobileSdkRs/*.swift" - spec.frameworks = 'Foundation' - - spec.dependency 'SpruceIDMobileSdkRsRustFramework', "#{spec.version}" -end diff --git a/SpruceIDMobileSdkRsRustFramework.podspec b/SpruceIDMobileSdkRsRustFramework.podspec deleted file mode 100644 index 7db8965..0000000 --- a/SpruceIDMobileSdkRsRustFramework.podspec +++ /dev/null @@ -1,21 +0,0 @@ -Pod::Spec.new do |spec| - spec.name = "SpruceIDMobileSdkRsRustFramework" - spec.version = "0.8.1" - spec.summary = "Rust-generated Framework Swift Mobile SDK." - spec.description = <<-DESC - Rust layer framework for the Swift Mobile SDK. - DESC - spec.homepage = "https://github.com/spruceid/mobile-sdk-rs" - 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.ios.deployment_target = '14.0' - - spec.static_framework = true - spec.source = { :http => "https://github.com/spruceid/mobile-sdk-rs/releases/download/#{spec.version}/RustFramework.xcframework.zip" } - spec.vendored_frameworks = 'MobileSdkRs/RustFramework.xcframework' -end