Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server. This iOS Demo App includes the Teads Framework and is showing integration examples.
Integration instructions are available on Teads SDK documentation
Read Project Setup from our documentation
Install CocoaPods from your terminal:
$ sudo gem install cocoapods
You can try our SDK with pod try
command in your terminal. This will get you our TeadsSDKDemo functionnal project which includes our SDK.
$ pod try TeadsSDK
CocoaPods is a dependency manager for Xcode projects.
-
In terminal, go to the directory containing your project's
.xcodeproj
file and runpod init
command:$ pod init
-
Open and edit the created file named
Podfile
to add our SDK pod referencepod 'TeadsSDK'
:target 'YourProject' do pod 'TeadsSDK' end
-
In terminal in the directory containing your project's
.xcodeproj
file and the Podfile, runpod install
command. This will install Teads SDK along with our needed dependencies.$ pod install --repo-update
-
Once the installation is finished, open the
.xcworkspace
of your app to launch Xcode. Your project files should include a Pods project with the dependencies for TeadsSDK. From now on you will have to use this file for your app's developments.
Even if Teads SDK if fully compliant with iOS 9+ network restrictions (SSL ready), third party ad servers don't all use SSL yet. This is why we highly recommend to allow non-ssl connexions until all ad servers and tracking vendors are ssl compliant too.
Teads iOS SDK enters as a "Third-Party Servers" request maker.
NSAllowArbitraryLoads option will still be needed, and you will just have to justify on app submission that you activated this option for your advertising needs (required by an SDK that makes connections to Third-Party Servers).
You should add the NSAppTransportSecurity
exception with NSAllowsArbitraryLoads
exception to plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Read changelog here.