Skip to content

Commit

Permalink
quick save
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzhuie committed Feb 23, 2016
1 parent 899b0f2 commit 26f067f
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,31 @@ This is an example project for implementing the Unity Ads SDK in a SpriteKit gam

#How to integrate Unity Ads into your project

### Import the Unity Ads Framework
## 1. Import the Unity Ads Framework

1. Download the Unity SDK from https://github.com/Applifier/unity-ads-sdk
####Download the Unity SDK from https://github.com/Applifier/unity-ads-sdk
- [Down the zip file](https://github.com/Applifier/unity-ads-sdk/archive/master.zip)
- Unzip the project, and locate `UnityAds.framework` and `UnityAds.bundle`

2. Import `UnityAds.framework` and `UnityAds.bundle` into your project
####Import `UnityAds.framework` and `UnityAds.bundle` into your project
- Drag and drop the files into your project
- Select the box next to "Copy

3. Make sure all of the following dependancies are enabled in your project

`CoreMedia.framework`, `CoreTelephony.framework`,

`SystemConfiguration.framework`, `AdSupport.framework`,

`CFNetwork.framework`, `StoreKit.framework`

4. Add a bridging header for `UnityAds.framework`
####Make sure all of the following dependancies are enabled in your project

`CoreMedia.framework`, `CoreTelephony.framework`,

`SystemConfiguration.framework`, `AdSupport.framework`,

`CFNetwork.framework`, `StoreKit.framework`

####Add a bridging header for `UnityAds.framework`
- Create a new file in your project called **UnityAds-Bridging-Header.h**
- In the file, add the following line:

> **`#import <UnityAds/UnityAds.h>`**
## 2. Initialize Unity Ads

####In Your AppDelegate:
- Create a shared instance of Unity ads
Expand Down

0 comments on commit 26f067f

Please sign in to comment.