DCloud_IOS_CLP
DCloud_IOS_CLP
  • 发布:2020-01-07 13:06
  • 更新:2020-01-07 13:06
  • 阅读:723

iOS离线打包:uni-AD广告联盟配置

分类:5+ SDK

此文档将不再维护,请移步新文档:https://nativesupport.dcloud.net.cn

uni-AD广告联盟配置

此功能需要 HBuilderX 2.5.4-20200108-alpha 之后发布的离线包才能用。

添加360广告相关配置

注: Linker Flags、framework添加方法参考该文档

  1. 依次添加下列Linker Flags: -lUniAD,-lUniAd-360
  2. 添加下列framework:"libz.tbd","QHADSDK.framework","CoreLocation.framework", "CoreTelephony.framework", "WebKit.framework", "Security.framework", "SystemConfiguration.framework", "AdSupport.framework"
  3. 把离线包里Bundles文件夹里的 QHADVideoPlayer.bundle 引入到工程中

添加广点通广告相关配置

注: Linker Flags、framework添加方法参考该文档

  1. 依次添加下列Linker Flags: -lUniAD, -lUniAd-Gdt , -lGDTMobSDK
  2. 添加下列framework:"AdSupport.framework",
    "CoreLocation.framework",
    "QuartzCore.framework",
    "SystemConfiguration.framework",
    "CoreTelephony.framework",
    "Security.framework",
    "StoreKit.framework",
    "AVFoundation.framework",
    "WebKit.framework",
    "libz.tbd",
    "libxml2.tbd"

添加穿山甲广告相关配置

注: Linker Flags、framework添加方法参考该文档

  1. 依次添加下列Linker Flags: -lUniAD, -lUniAd-Csj, -lSDWebImage
  2. 添加下列framework:"BUAdSDK.framework","BUFoundation.framework","StoreKit.framework", "MobileCoreServices.framework", "WebKit.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework",
    "AVFoundation.framework",
    "CoreTelephony.framework",
    "SystemConfiguration.framework",
    "AdSupport.framework",
    "CoreMotion.framework",
    "Accelerate.framework",
    "libresolv.9.tbd",
    "libc++.tbd",
    "libz.tbd",
    "libsqlite3.tbd"
    3.把离线包里Bundles文件夹里的 BUAdSDK.bundle 引入到工程中

注意:如果是uni项目 必须配置上libUniADWeex.a 这个库

uni-AD广告联盟开通指南
uni-AD广告联盟使用指南

0 关注 分享

要回复文章请先登录注册