Skip to main content

Download Links

Cocoapods

Using CocoaPods

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

Swift Package Manager

Using Swift Package Manager

he Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Once you have your Swift package set up, adding OutbrainSDK as a 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: "4.33.0"))
]

SDK Direct Download

OutbrainSDK.xcframework (4.33.0) 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 (4.33.0)

Sample App (IPA install on device)

iOS Smartfeed Demo app (IPA)