Skip to main content

Download Links

Cocoapods

Using CocoaPods

  1. Add pod 'OutbrainSDK', '5.3.2' 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: "4.33.0"). 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.2"))
]

SDK Direct Download

OutbrainSDK.xcframework (5.3.2) download link

Directly add OutbrainSDK.xcframework to the app Xcode Project

  1. Copy `OutbrainSDK.xcframework`` to your project dir.

  2. Select your project in the left navigation panel.

  3. Select the relevant build target.

  1. Click on General in the top navigation bar.

  2. Add OutbrainSDK.framework to “Embedded Frameworks"

  1. Click ‘Add Other…’ and select AdSupport.framework and SystemConfiguration.framework.
  1. Go to target -> Build Settings -> add -all_load to "Other Linker Flags".

Sample Apps (source code examples)

Source code download link (5.3.2)

Sample App (IPA install on device)

iOS Smartfeed Demo app (IPA)