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