|
9 | 9 | Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server.
|
10 | 10 | This iOS Demo App includes the Teads Framework and is showing integration examples.
|
11 | 11 |
|
12 |
| -## Build the sample app |
13 |
| - |
14 |
| -* Press 'Clone', wait until repository checkout |
15 |
| -* Open TeadsSDKDemo.xcodeproj in XCode |
16 |
| -* Finally, build and test on your device |
17 |
| - |
18 | 12 | ## Documentation
|
19 | 13 |
|
20 | 14 | Integration instructions are available on [Teads SDK documentation](http://mobile.teads.tv/sdk/documentation/)
|
21 | 15 |
|
22 |
| -## Installation |
23 |
| - |
24 |
| -### Static library |
| 16 | +## Install Teads SDK using static library |
25 | 17 |
|
26 | 18 | Read [Project Setup](http://mobile.teads.tv/sdk/documentation/ios/ios-project-setup) from our documentation
|
27 | 19 |
|
28 |
| -### CocoaPods |
| 20 | +## Install Teads SDK using CocoaPods |
| 21 | + |
| 22 | +Install CocoaPods from your terminal: |
| 23 | + |
| 24 | +``` |
| 25 | +$ sudo gem install cocoapods |
| 26 | +``` |
| 27 | + |
| 28 | +### Try our SDK on a demo project |
| 29 | + |
| 30 | +You can try our SDK with `pod try` command in your terminal. This will get you our TeadsSDKDemo functionnal project which includes our SDK. |
29 | 31 |
|
30 |
| -Teads SDK is available on Cocoapods. Add `TeadsSDK` to your Podfile |
31 | 32 | ```
|
32 |
| -pod 'TeadsSDK' |
| 33 | +$ pod try TeadsSDK |
33 | 34 | ```
|
34 | 35 |
|
35 |
| -#### App Transport Security |
| 36 | +### Add Teads SDK to your iOS project |
| 37 | + |
| 38 | +CocoaPods is a dependency manager for Xcode projects. |
| 39 | + |
| 40 | +1. In terminal, go to the directory containing your project's `.xcodeproj` file and run `pod init` command: |
| 41 | + |
| 42 | + ``` |
| 43 | + $ pod init |
| 44 | + ``` |
| 45 | +
|
| 46 | +2. Open and edit the created file named `Podfile` to add our SDK pod reference `pod 'TeadsSDK'` : |
| 47 | +
|
| 48 | + ``` |
| 49 | + target 'YourProject' do |
| 50 | + pod 'TeadsSDK' |
| 51 | + end |
| 52 | + ``` |
| 53 | +
|
| 54 | +3. In terminal in the directory containing your project's `.xcodeproj` file and the Podfile, run `pod install` command. This will install Teads SDK along with our needed dependencies. |
| 55 | +
|
| 56 | + ``` |
| 57 | + $ pod install |
| 58 | + ``` |
| 59 | +
|
| 60 | +4. 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. |
| 61 | +
|
| 62 | +## App Transport Security |
36 | 63 |
|
37 | 64 | 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.
|
38 | 65 |
|
|
0 commit comments