CocoaPods Deprecation Notice

CocoaPods has announced that Trunk will become read-only at the end of 2026, meaning new pod releases will no longer be possible via Trunk after that point.

What’s changing?

To prepare for this change and ensure long-term stability of our distribution, we are deprecating our CocoaPods Trunk pods and moving away from CocoaPods.

Affected Pods

The following pods published on CocoaPods Trunk will be deprecated:

The following integrations will migrate to SPM and remove CocoaPods support:

Existing versions will remain available, but no new versions will be released via Trunk. Installing these pods will show a deprecation warning.

Timeline

We will phase out CocoaPods support over the course of 2026 to give integrators sufficient time to migrate to Swift Package Manager.

  • March: New Bitmovin CocoaPods releases are marked as deprecated. Community announcement and documentation updates are published
  • June: All CocoaPods releases, including previously published versions, are marked as deprecated
  • September: Bitmovin stops publishing new releases to CocoaPods
  • September–October: CocoaPods issues final communications ahead of the Trunk shutdown
  • November 1–7: CocoaPods Trunk will be temporarily set to read-only as a test run
  • December 2: CocoaPods Trunk becomes permanently read-only

What does this mean for you?

If you are already using the Bitmovin iOS SDKs, no immediate action is required. Your current integrations will continue to work.

However, for future updates, you will need to migrate to using SPM.

Going forward: Swift Package Manager (SPM)

Going forward, the Bitmovin iOS SDKs will be released exclusively via Swift Package Manager (SPM).
SPM is Apple’s preferred dependency manager and provides a reliable, long-term integration path.

Migrating from CocoaPods

  1. Remove the affected pods from your Podfile:
    -pod 'BitmovinPlayer', 'Version Number'
    
  2. Add the SDKs using Swift Package Manager
  3. Optionally, If you want to remove CocoaPods entirely from the project, deintegrate it to clean up generated files and build settings. See cocoapods-deintegrate:
    sudo gem install cocoapods-deintegrate
    pod deintegrate
    

Adding the SDKs with SPM

You can add the SDKs either through Xcode or directly in Package.swift.

Using Xcode:

  1. Open your project and go to Project > Package Dependencies
  2. Add the desired Bitmovin iOS SDK repository URL, for example:
    https://github.com/bitmovin/player-ios.git
    
  3. Select the desired version and add it to your project

Using Package.swift:

let package = Package(
  dependencies: [
    .package(
        url: "https://github.com/bitmovin/player-ios.git",
        .exact("Version Number")
    )
  ],
  targets: [
    .target(name: "<NAME_OF_YOUR_PACKAGE>", dependencies: ["BitmovinPlayer"])
  ]
)