From 28e881103e1c70f3cf2c33465c29a05a6dfcf40f Mon Sep 17 00:00:00 2001 From: Maksym Danylov Date: Mon, 16 Feb 2026 13:01:42 +0200 Subject: [PATCH 1/2] iOS code integration doc updates. --- .../pbm-api/ios/code-integration-ios.md | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/prebid-mobile/pbm-api/ios/code-integration-ios.md b/prebid-mobile/pbm-api/ios/code-integration-ios.md index a686b878af..bccd3f0665 100644 --- a/prebid-mobile/pbm-api/ios/code-integration-ios.md +++ b/prebid-mobile/pbm-api/ios/code-integration-ios.md @@ -32,6 +32,11 @@ end Now run `pod install` to add the Prebid SDK to project dependencies. +{: .alert.alert-warning :} +Support for CocoaPods will be discontinued in Q2 2026. As CocoaPods is transitioning to read-only mode, it will no longer be supported for future updates. For more details, please refer to the official [announcement](https://blog.cocoapods.org/CocoaPods-Specs-Repo/). + +We strongly recommend that publishers migrate to Swift Package Manager (SPM) to ensure ongoing compatibility and access to future releases. Please follow the [instructions](/prebid-mobile/pbm-api/ios/code-integration-ios.html#swift-package-manager-spm) to transition your integration. + ### Carthage If you are not familiar with the Carthage package builder, please refer to the project [github page](https://github.com/Carthage/Carthage) for more details. @@ -41,6 +46,11 @@ If you are not familiar with the Carthage package builder, please refer to the p 3. Run `carthage update`. 4. Drag `PrebidMobile.xcframework` from `Carthage/Build` to `General -> Linked Frameworks and Libraries` +{: .alert.alert-warning :} +Support for Carthage will be discontinued in Q2 2026. + +We strongly recommend that publishers migrate to Swift Package Manager (SPM) to ensure ongoing compatibility and access to future releases. Please follow the [instructions](/prebid-mobile/pbm-api/ios/code-integration-ios.html#swift-package-manager-spm) to transition your integration. + ### XCFramework 1. Clone the project and run script `scripts/buildPrebidMobile.sh` @@ -54,18 +64,23 @@ Starting from version `3.1.0`, PrebidMobile supports the Swift Package Manager ( To [add the Prebid Mobile SDK package dependency](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app#Add-a-package-dependency) using SPM, follow these steps: 1. In Xcode, install the Prebid Mobile SDK by navigating to File > Add Package Dependencies... -2. In the prompt that appears, search for the Prebid Mobile SDK GitHub repository: +2. In the prompt that appears, use the search field to find the appropriate package based on your integration needs. Search for `Prebid Mobile SDK` to install the core SDK, or `Prebid Mobile SDK Adapters` if you need mediation adapters (GAM, AdMob, MAX). + + `Prebid Mobile SDK` + + ```bash + https://github.com/prebid/prebid-mobile-ios-sdk.git + ``` + + `Prebid Mobile SDK Adapters` ```bash - https://github.com/prebid/prebid-mobile-ios.git + https://github.com/prebid/prebid-mobile-ios-adapters.git ``` - + 3. Select the version of the Prebid Mobile SDK you want to use. For new projects, we recommend using the `Up to Next Major Version`. 4. In the package selection screen, make sure to check the modules you need for your integration and link it to your application target. -{: .alert.alert-info :} -The Swift Package Manager (SPM) integration is currently marked as beta. We are actively working on refining the project structure and modularization to improve clarity, performance, and ease of integration. During this period, some modules or dependencies may be reorganized. We welcome your feedback - if you encounter any issues or have suggestions, please don't hesitate to reach out and help us shape the future of the PrebidMobile SPM support. - ### Build framework from source Build Prebid Mobile from source code. After [cloning the repo](https://github.com/prebid/prebid-mobile-ios), use Terminal or another command line tool, change to the root directory and run: From 22877c8b7af906f18f510cc248d819dfb8576335 Mon Sep 17 00:00:00 2001 From: Maksym Danylov <146753616+mdanylov-sigma@users.noreply.github.com> Date: Tue, 17 Feb 2026 11:05:27 +0200 Subject: [PATCH 2/2] Update CocoaPods and Carthage deprecation timelines --- prebid-mobile/pbm-api/ios/code-integration-ios.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prebid-mobile/pbm-api/ios/code-integration-ios.md b/prebid-mobile/pbm-api/ios/code-integration-ios.md index bccd3f0665..0c61ddaf5e 100644 --- a/prebid-mobile/pbm-api/ios/code-integration-ios.md +++ b/prebid-mobile/pbm-api/ios/code-integration-ios.md @@ -33,7 +33,7 @@ end Now run `pod install` to add the Prebid SDK to project dependencies. {: .alert.alert-warning :} -Support for CocoaPods will be discontinued in Q2 2026. As CocoaPods is transitioning to read-only mode, it will no longer be supported for future updates. For more details, please refer to the official [announcement](https://blog.cocoapods.org/CocoaPods-Specs-Repo/). +Support for CocoaPods will be discontinued in Q4 2026. As CocoaPods is transitioning to read-only mode, it will no longer be supported for future updates. For more details, please refer to the official [announcement](https://blog.cocoapods.org/CocoaPods-Specs-Repo/). We strongly recommend that publishers migrate to Swift Package Manager (SPM) to ensure ongoing compatibility and access to future releases. Please follow the [instructions](/prebid-mobile/pbm-api/ios/code-integration-ios.html#swift-package-manager-spm) to transition your integration. @@ -47,7 +47,7 @@ If you are not familiar with the Carthage package builder, please refer to the p 4. Drag `PrebidMobile.xcframework` from `Carthage/Build` to `General -> Linked Frameworks and Libraries` {: .alert.alert-warning :} -Support for Carthage will be discontinued in Q2 2026. +Support for Carthage will be discontinued in Q4 2026. We strongly recommend that publishers migrate to Swift Package Manager (SPM) to ensure ongoing compatibility and access to future releases. Please follow the [instructions](/prebid-mobile/pbm-api/ios/code-integration-ios.html#swift-package-manager-spm) to transition your integration.