Download Links
Cocoapods
Using CocoaPods
- Add
pod 'OutbrainSDK', '5.3.2'
into your Podfile. - Run
pod install
. - 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
-
Copy `OutbrainSDK.xcframework`` to your project dir.
-
Select your project in the left navigation panel.
-
Select the relevant build target.
-
Click on General in the top navigation bar.
-
Add OutbrainSDK.framework to “Embedded Frameworks"
- Click ‘Add Other…’ and select AdSupport.framework and SystemConfiguration.framework.
- Go to target -> Build Settings -> add
-all_load
to "Other Linker Flags".
Sample Apps (source code examples)
Source code download link (5.3.2)