Skip to main content

Download Links

Cocoapods

Using CocoaPods

  1. Add pod 'OutbrainSDK', '5.3.4' into your Podfile.
  2. Run pod install.
  3. Open workspace file and run the project.

Swift Package Manager

Using Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. You can add the OutbrainSDK SPM dependency by using the following URL:

https://github.com/outbrain/outbrain-iOS-Framework

We recommend setting the dependency version constraint to .upToNextMajor(from: "5.3.4"). Adding OutbrainSDK as a SPM package dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
.package(url: "https://github.com/outbrain/outbrain-iOS-Framework", .upToNextMajor(from: "5.3.4"))
]

Sample Apps (source code examples)

Source code download link (5.3.4)

Sample App (IPA install on device)

iOS Smartfeed Demo app (IPA)