跳转到主要内容
本页仅说明 MobileFuse 适配器在 iOS 上的集成细节。

安装

CocoaPods

Podfile
pod 'CloudXMobileFuseAdapter', '~> 1.11.0.0'
pod install --repo-update

手动安装

  1. Releases 下载 CloudXMobileFuseAdapter.xcframework.zip
  2. 解压并将 CloudXMobileFuseAdapter.xcframework 拖入您的 Xcode 项目
  3. 手动添加 MobileFuseSDK= 1.11.0)。

Info.plist 配置

SKAdNetwork IDs(iOS 14+ 必需)

请添加 MobileFuse 官方发布的 SKAdNetwork ID。最新的 SKAdNetworkItems 列表请参阅 MobileFuse SDK 当前文档。

App Tracking Transparency(iOS 14+)

Info.plist
<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>

项目配置

链接器标志: 在 Build Settings 的 Other Linker Flags 中添加 -ObjC

支持

如需支持,请联系 mobile@cloudx.io