Help Center/Details/

Integrate Pangle SDK for iOS

This guide is for publishers who only want to monetize an iOS app with the traffic outside of China. If you also want to monetize with the traffic in China Mainland with the same build, please follow the guide How to import both Pangle and CSJ

Environment requirement

  • IOS 10.X and higher;
  • SDK compilation environment Xcode 12;
  • Supporting architecture: x86-64, armv7, arm64,i386

Note: ios 9 is no longer supported starting from v3.5.0.0

Import Pangle SDK through CocoaPods(preferred):

The simplest way to import the SDK into an iOS project is to use CocoaPods. Open your project's Podfile and add this line to your app's target:

  • Note: import Pangle SDK that the version is higher v3.4.0.0
pod 'Ads-Global'


  • Note: if you want to import old version of Pangle SDK that the version is lower v3.4.0.0, as shown below:
pod 'Bytedance-UnionAD', '~>'


Download Pangle SDK Manually:

Download and unzip the SDK framework from Pangle Platform directly, and import the following frameworks and bundles into your Xcode project manually:

  • BUAdSDK.framework
  • BUFoundation.framework
  • BUAdSDK.bundle
  • BUVAAuxiliary.framework
  • OneKit-Pangle (v4.0.0.0 added)
  • RangersAPM-Pangle (v4.0.0.0 added)


Note: When you upgrade the SDK, you need to update all frameworks and bundle files.

Please make sure that Copy Bundle Resource contains BUAdSDK.bundle.

Xcode Compiler Option Settings

Add Permissions

Add the parameter -ObjC to Other Linker Flags in build settings, and the SDK supports - all_ load

Detailed Steps:

Add Dependency Libraries

Project needs to find Link Binary With Libraries in TARGETS - > Build Phases, click "+", and then add the following dependent libraries in order.

  • StoreKit.framework
  • MobileCoreServices.framework
  • WebKit.framework
  • MediaPlayer.framework
  • CoreMedia.framework
  • AVFoundation.framework
  • CoreTelephony.framework
  • SystemConfiguration.framework
  • AdSupport.framework
  • CoreMotion.framework
  • Accelerate.framework
  • libresolv.9.tbd
  • libc++.tbd
  • libz.tbd
  • libsqlite3.tbd
  • libbz2.tbd
  • libxml2.tbd
  • libiconv.tbd
  • libc++abi.tbd (newly required from sdk v3.5.0.0)
  • Security.framework

Note: Add the ImageIO.framework if the above dependency library is still reporting errors.

Detailed Steps:

Add language configuration


Did the content solve your problem?