Skip to content

Commit 28e8811

Browse files
iOS code integration doc updates.
1 parent d5bd356 commit 28e8811

1 file changed

Lines changed: 21 additions & 6 deletions

File tree

prebid-mobile/pbm-api/ios/code-integration-ios.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ end
3232

3333
Now run `pod install` to add the Prebid SDK to project dependencies.
3434

35+
{: .alert.alert-warning :}
36+
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/).
37+
38+
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.
39+
3540
### Carthage
3641

3742
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
4146
3. Run `carthage update`.
4247
4. Drag `PrebidMobile.xcframework` from `Carthage/Build` to `General -> Linked Frameworks and Libraries`
4348

49+
{: .alert.alert-warning :}
50+
Support for Carthage will be discontinued in Q2 2026.
51+
52+
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.
53+
4454
### XCFramework
4555

4656
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 (
5464
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:
5565

5666
1. In Xcode, install the Prebid Mobile SDK by navigating to File > Add Package Dependencies...
57-
2. In the prompt that appears, search for the Prebid Mobile SDK GitHub repository:
67+
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).
68+
69+
`Prebid Mobile SDK`
70+
71+
```bash
72+
https://github.com/prebid/prebid-mobile-ios-sdk.git
73+
```
74+
75+
`Prebid Mobile SDK Adapters`
5876

5977
```bash
60-
https://github.com/prebid/prebid-mobile-ios.git
78+
https://github.com/prebid/prebid-mobile-ios-adapters.git
6179
```
62-
80+
6381
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`.
6482
4. In the package selection screen, make sure to check the modules you need for your integration and link it to your application target.
6583

66-
{: .alert.alert-info :}
67-
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.
68-
6984
### Build framework from source
7085

7186
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:

0 commit comments

Comments
 (0)