diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index c06a696..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Publish To CocoaPods - -on: - release: - types: [created] - workflow_dispatch: - -env: - COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Ruby & Bundle install - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.1" - bundler-cache: true # also runs 'bundle install' - - - name: Sanity Check - run: | - bundle exec pod trunk me - bundle exec pod spec lint - - - name: Publish - run: | - bundle exec pod trunk push diff --git a/README.md b/README.md index eed2b3e..c13c1cd 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ OpenAPI 3.0.3 Specification for MagicBell API. - [Setup \& Configuration](#setup--configuration) - [Supported Language Versions](#supported-language-versions) - [Installation](#installation) - - [CocoaPods](#cocoapods) - [Swift Package Manager](#swift-package-manager) - [Authentication](#authentication) - [Access Token Authentication](#access-token-authentication) @@ -34,19 +33,7 @@ This SDK is compatible with the following versions: ## Installation - - -### CocoaPods - -If you use [CocoaPods](https://cocoapods.org), place the following within your `Podfile`: - -```ruby -pod 'MagicBellClient', '>=0.1.1' -``` - -**IMPORTANT**: Make sure you specify `use_frameworks!` in your `Podfile`. - -Then, run `pod install`. +This package depends on the [Swift OpenAPI Runtime](https://github.com/apple/swift-openapi-runtime) which is only available via Swift Package Manager. ### Swift Package Manager diff --git a/scripts/update-version.ts b/scripts/update-version.ts index 5d3e6b6..ee6d6c7 100644 --- a/scripts/update-version.ts +++ b/scripts/update-version.ts @@ -9,12 +9,10 @@ const replacements = [ files: ["README.md"], from: [ /MagicBellClient Swift SDK \d.\d.\d/g, - /pod 'MagicBellClient', '>=\d.\d.\d'/g, /.upToNextMajor(from: "\d.\d.\d")/g, ], to: [ `MagicBellClient Swift SDK ${version}`, - `pod 'MagicBellClient', '>=${version}'`, `.upToNextMajor(from: "${version}")`, ], },