From 472f0c3fee6424be9bfd2da4225586a6bd71ba20 Mon Sep 17 00:00:00 2001 From: Nandan Prabhu Date: Wed, 4 Nov 2026 15:04:20 +0530 Subject: [PATCH] chore: remove CocoaPods support Delete the podspec, the pod-lint CI job, the cocoapods gem, and all CocoaPods references from the README, issue template, fastlane, and config files. Add a README note that CocoaPods support has been discontinued and releases are available via Swift Package Manager and Carthage only. Co-Authored-By: Claude --- .github/ISSUE_TEMPLATE/Bug Report.yml | 1 - .github/workflows/main.yml | 22 ------ .gitignore | 3 - .shiprc | 3 +- .swiftlint.yml | 1 - Gemfile | 1 - Gemfile.lock | 100 +++++++------------------- README.md | 15 ++-- SimpleKeychain.podspec | 23 ------ fastlane/Fastfile | 2 +- fastlane/README.md | 2 +- 11 files changed, 32 insertions(+), 141 deletions(-) delete mode 100644 SimpleKeychain.podspec diff --git a/.github/ISSUE_TEMPLATE/Bug Report.yml b/.github/ISSUE_TEMPLATE/Bug Report.yml index c6188e54..83c73071 100644 --- a/.github/ISSUE_TEMPLATE/Bug Report.yml +++ b/.github/ISSUE_TEMPLATE/Bug Report.yml @@ -93,7 +93,6 @@ body: multiple: false options: - Swift Package Manager - - Cocoapods - Carthage - None validations: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b841619..0b0280cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -90,28 +90,6 @@ jobs: - name: Run tests run: swift test - pod-lint: - name: Lint podspec using Xcode ${{ matrix.xcode }} - runs-on: macos-26-xlarge - - strategy: - matrix: - xcode: - - '26.6' - - steps: - - name: Checkout - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # pin@v7.0.1 - - - name: Set up environment - uses: ./.github/actions/setup - with: - ruby: ${{ env.ruby }} - xcode: ${{ matrix.xcode }} - - - name: Run pod lib lint - run: bundle exec pod lib lint --allow-warnings --fail-fast - swiftlint: name: Lint code with SwiftLint runs-on: macos-26 diff --git a/.gitignore b/.gitignore index 20b373cf..fa075fe1 100644 --- a/.gitignore +++ b/.gitignore @@ -23,9 +23,6 @@ DerivedData # Bundler .bundle -# CocoaPods -Pods/ - # Carthage Carthage/ SimpleKeychain.framework diff --git a/.shiprc b/.shiprc index 53575285..c6e97fa1 100644 --- a/.shiprc +++ b/.shiprc @@ -1,7 +1,6 @@ { "files": { - "SimpleKeychain/Info.plist": [], - "SimpleKeychain.podspec": [] + "SimpleKeychain/Info.plist": [] }, "postbump": "bundle update && bundle exec fastlane ios build_docs", "prefixVersion": false diff --git a/.swiftlint.yml b/.swiftlint.yml index 6a3d5ad0..735bf37d 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -6,7 +6,6 @@ included: # paths to include during linting. `--path` is ignored if present. - SimpleKeychain excluded: # paths to ignore during linting. Takes precedence over `included`. - Carthage - - Pods # configurable rules can be customized from this configuration file # rules that have both warning and error levels, can set just the warning level # implicitly diff --git a/Gemfile b/Gemfile index 3fb3ea39..925a0452 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ source 'https://rubygems.org' gem 'fastlane' -gem 'cocoapods' gem 'slather' plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') diff --git a/Gemfile.lock b/Gemfile.lock index 077fce38..c9c81a1e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,28 +1,23 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.7) - base64 - nkf - rexml + CFPropertyList (3.0.8) abbrev (0.1.2) - activesupport (7.2.2.1) + activesupport (8.1.4.1) base64 - benchmark (>= 0.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) + json logger (>= 1.4.2) minitest (>= 5.1) securerandom (>= 0.3) tzinfo (~> 2.0, >= 2.0.5) - addressable (2.9.0) + uri (>= 0.13.1) + addressable (2.9.2) public_suffix (>= 2.0.2, < 8.0) - algoliasearch (1.27.5) - httpclient (~> 2.8, >= 2.8.3) - json (>= 1.5.1) artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.2) @@ -46,64 +41,24 @@ GEM aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) - benchmark (0.4.0) - bigdecimal (3.1.9) + benchmark (0.5.0) + bigdecimal (4.1.3) claide (1.1.0) clamp (1.3.2) - cocoapods (1.16.2) - addressable (~> 2.8) - claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.16.2) - cocoapods-deintegrate (>= 1.0.3, < 2.0) - cocoapods-downloader (>= 2.1, < 3.0) - cocoapods-plugins (>= 1.0.0, < 2.0) - cocoapods-search (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.6.0, < 2.0) - cocoapods-try (>= 1.1.0, < 2.0) - colored2 (~> 3.1) - escape (~> 0.0.4) - fourflusher (>= 2.3.0, < 3.0) - gh_inspector (~> 1.0) - molinillo (~> 0.8.0) - nap (~> 1.0) - ruby-macho (>= 2.3.0, < 3.0) - xcodeproj (>= 1.27.0, < 2.0) - cocoapods-core (1.16.2) - activesupport (>= 5.0, < 8) - addressable (~> 2.8) - algoliasearch (~> 1.0) - concurrent-ruby (~> 1.1) - fuzzy_match (~> 2.0.4) - nap (~> 1.0) - netrc (~> 0.11) - public_suffix (~> 4.0) - typhoeus (~> 1.0) - cocoapods-deintegrate (1.0.5) - cocoapods-downloader (2.1) - cocoapods-plugins (1.0.0) - nap - cocoapods-search (1.0.1) - cocoapods-trunk (1.6.0) - nap (>= 0.8, < 2.0) - netrc (~> 0.11) - cocoapods-try (1.2.0) colored (1.2) colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) - concurrent-ruby (1.3.5) - connection_pool (2.5.0) + concurrent-ruby (1.3.8) + connection_pool (3.0.2) csv (3.3.5) declarative (0.0.20) digest-crc (0.7.0) rake (>= 12.0.0, < 14.0.0) domain_name (0.6.20240107) dotenv (2.8.1) - drb (2.2.1) + drb (2.2.3) emoji_regex (3.2.3) - escape (0.0.4) - ethon (0.16.0) - ffi (>= 1.15.0) excon (0.112.0) faraday (1.10.4) faraday-em_http (~> 1.0) @@ -187,10 +142,6 @@ GEM fastlane-plugin-auth0_shipper (0.4.1) semantic (~> 1.5) fastlane-sirp (1.1.0) - ffi (1.17.1-arm64-darwin) - ffi (1.17.1-x86_64-darwin) - fourflusher (2.3.1) - fuzzy_match (2.0.4) gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) @@ -231,26 +182,25 @@ GEM highline (2.0.3) http-cookie (1.0.8) domain_name (~> 0.5) - httpclient (2.9.0) + httpclient (2.10.0) mutex_m - i18n (1.14.7) + i18n (1.15.2) concurrent-ruby (~> 1.0) jmespath (1.6.2) - json (2.10.2) + json (2.21.2) jwt (2.10.1) base64 - logger (1.6.6) + logger (1.7.0) mini_magick (4.13.2) mini_mime (1.1.5) - minitest (5.25.5) - molinillo (0.8.0) + minitest (6.0.6) + drb (~> 2.0) + prism (~> 1.5) multi_json (1.15.0) multipart-post (2.4.1) mutex_m (0.3.0) nanaimo (0.4.0) - nap (1.1.0) naturally (2.2.1) - netrc (0.11.0) nkf (0.2.0) nokogiri (1.19.2-arm64-darwin) racc (~> 1.4) @@ -260,7 +210,8 @@ GEM os (1.1.4) ostruct (0.6.3) plist (3.7.2) - public_suffix (4.0.7) + prism (1.9.0) + public_suffix (7.0.5) racc (1.8.1) rake (13.2.1) representable (3.2.0) @@ -268,9 +219,8 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.4.1) + rexml (3.4.4) rouge (3.28.0) - ruby-macho (2.5.1) ruby2_keywords (0.0.5) rubyzip (2.4.1) securerandom (0.4.1) @@ -298,19 +248,20 @@ GEM tty-screen (0.8.2) tty-spinner (0.9.3) tty-cursor (~> 0.7) - typhoeus (1.4.1) - ethon (>= 0.9.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) uber (0.1.0) unicode-display_width (2.6.0) + uri (1.1.2) word_wrap (1.0.0) - xcodeproj (1.27.0) + xcodeproj (1.28.1) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) + base64 claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.4.0) + nkf rexml (>= 3.3.6, < 4.0) xcpretty (0.4.1) rouge (~> 3.28.0) @@ -325,10 +276,9 @@ PLATFORMS x86_64-darwin-20 DEPENDENCIES - cocoapods fastlane fastlane-plugin-auth0_shipper slather BUNDLED WITH - 4.0.2 + 2.6.9 diff --git a/README.md b/README.md index 64dd4a30..817a1d46 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![SimpleKeychain](https://cdn.auth0.com/website/sdks/banners/simplekeychain-banner.png) -![Version](https://img.shields.io/cocoapods/v/SimpleKeychain.svg?style=flat) +![Version](https://img.shields.io/github/v/release/auth0/SimpleKeychain?style=flat) ![Build Status](https://img.shields.io/github/actions/workflow/status/auth0/SimpleKeychain/main.yml?style=flat) [![Coverage Status](https://img.shields.io/codecov/c/github/auth0/SimpleKeychain/master.svg?style=flat)](https://codecov.io/github/auth0/SimpleKeychain) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/auth0/SimpleKeychain) @@ -27,6 +27,9 @@ Migrating from 0.x? Check the [Migration Guide](V1_MIGRATION_GUIDE.md). - Xcode 26.x - Swift 6.0+ +> [!IMPORTANT] +> CocoaPods support has been discontinued. All new releases are available only through Swift Package Manager and Carthage. + > [!IMPORTANT] > Check the [Support Policy](#support-policy) to learn when dropping Xcode, Swift, and platform versions will not be considered a **breaking change**. @@ -46,16 +49,6 @@ https://github.com/auth0/SimpleKeychain Then, select the dependency rule and press **Add Package**. -#### Cocoapods - -Add the following line to your `Podfile`: - -```ruby -pod 'SimpleKeychain', '~> 1.0' -``` - -Then, run `pod install`. - #### Carthage Add the following line to your `Cartfile`: diff --git a/SimpleKeychain.podspec b/SimpleKeychain.podspec deleted file mode 100644 index bc67aae0..00000000 --- a/SimpleKeychain.podspec +++ /dev/null @@ -1,23 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'SimpleKeychain' - s.version = '1.3.0' - s.summary = 'A simple Keychain wrapper for iOS, macOS, tvOS, and watchOS' - s.description = <<-DESC - Easily store your user's credentials in the Keychain. - Supports sharing credentials with an access group or through iCloud, and integrating Touch ID / Face ID. - DESC - s.homepage = 'https://github.com/auth0/SimpleKeychain' - s.license = 'MIT' - s.author = { 'Auth0' => 'support@auth0.com', 'Rita Zerrizuela' => 'rita.zerrizuela@auth0.com' } - s.source = { :git => 'https://github.com/auth0/SimpleKeychain.git', :tag => s.version.to_s } - s.social_media_url = 'https://twitter.com/auth0' - - s.ios.deployment_target = '16.0' - s.osx.deployment_target = '13.0' - s.tvos.deployment_target = '16.0' - s.watchos.deployment_target = '9.0' - s.visionos.deployment_target = '1.0' - - s.source_files = 'SimpleKeychain/*.swift' - s.swift_versions = ['6.0', '6.1'] -end diff --git a/fastlane/Fastfile b/fastlane/Fastfile index c9a196d6..f5bf8825 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,7 +1,7 @@ default_platform :ios platform :ios do - desc 'Tags the release and pushes the Podspec to CocoaPods' + desc 'Tags the release' lane :release do perform_release target: 'SimpleKeychain-iOS' publish_release repository: 'SimpleKeychain' diff --git a/fastlane/README.md b/fastlane/README.md index 2a95c969..e04db188 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -21,7 +21,7 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do [bundle exec] fastlane ios release ``` -Tags the release and pushes the Podspec to CocoaPods +Tags the release ### ios build_docs