IOS AddSDK 4.1.0
From AdLocus
加入 SDK Library
- 請將AdLocus.framework拖曳到您的專案中,並勾選下面兩個選項:
- "Copy items into destination group's folder (if needed)"
- "Create group for any added folders"
- 在General 中 Embedded Binaries 中加入 AdLocus.framework
設定 Info.plist
- 在 Info.plist 中加入
- App Transport Security Settings
- Allow Arbitrary Loads = YES
- NSLocationAlwaysUsageDescription
- NSLocationWhenInUseUsageDescription
- App Transport Security Settings
設定編譯相容性
- 在 Build Setting 中 Embedded Content Contains Swift Code 設為 YES
開啟BACKGROUND MODE
- 在Capabilities 中開啟 Background Mode 並勾選Background fetch