Difference between revisions of "IOS AddSDK"
From AdLocus
(→開啟BACKGROUND MODE) |
|||
| Line 34: | Line 34: | ||
[[File:IOS_Add_File_4.jpg]] | [[File:IOS_Add_File_4.jpg]] | ||
| − | + | {{IOS_Promotion}} | |
| − | + | ||
| − | + | ||
| − | + | ||
Revision as of 13:03, 9 October 2014
Contents
加入 SDK Library
- 下載 SDK
- 在您下載的檔案中有兩個資料夾:AdLocus(SDK),Sample(Sample code),請將AdLocus拖曳到您的專案中。
- Xcode詢問時,請勾選下面兩個選項:
- "Copy items into destination group's folder (if needed)"
- "Create group for any added folders"
加入 Framework
- 請將 "AdLocus SDK" 所需要的Framework加入到專案中,點選專案後,選擇[Build Phase],在[Link Binary with Library]中加入下列 .framwwork
- AdSupport
- AudioToolbox
- AVFoundation
- CFNetwork
- CoreGraphics
- CoreLocation
- CoreTelephony
- Foundation
- libz.1.2.5.dylib or libz.dblib
- libsqlite3.0.dylib or libsqlite3.dylib
- MapKit
- MobileCoreServices
- QuartzCore
- UIKit
- SystemConfiguration
設定編譯相容性
- 請打開Project->Build Setting,在"Link"分類下的"Other Linker Flags",加入"-ObjC"與"-all_load"。



