Skip to content

Commit 8f06aa8

Browse files
authored
Update README.md
1 parent 005f89b commit 8f06aa8

File tree

1 file changed

+40
-13
lines changed

1 file changed

+40
-13
lines changed

README.md

Lines changed: 40 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,57 @@
99
Teads allows you to integrate a single SDK into your app, and serve premium branded "outstream" video ads from Teads SSP ad server.
1010
This iOS Demo App includes the Teads Framework and is showing integration examples.
1111

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-
1812
## Documentation
1913

2014
Integration instructions are available on [Teads SDK documentation](http://mobile.teads.tv/sdk/documentation/)
2115

22-
## Installation
23-
24-
### Static library
16+
## Install Teads SDK using static library
2517

2618
Read [Project Setup](http://mobile.teads.tv/sdk/documentation/ios/ios-project-setup) from our documentation
2719

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.
2931

30-
Teads SDK is available on Cocoapods. Add `TeadsSDK` to your Podfile
3132
```
32-
pod 'TeadsSDK'
33+
$ pod try TeadsSDK
3334
```
3435

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
3663
3764
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.
3865

0 commit comments

Comments
 (0)