This guide is for publishers who want to monetize an iOS app with the traffic outside of china.
Note: ios 9 is no longer supported starting from v18.104.22.168
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:
pod 'Ads-Global', '~>22.214.171.124'
pod 'Bytedance-UnionAD', '~>126.96.36.199'
Download and unzip the SDK framework from Pangle Platform directly, and import the following frameworks and bundles into your Xcode project manually:
Note: When you upgrade the SDK, you need to update all frameworks and bundle files.
Please make sure that
Copy Bundle Resource contains
Add the parameter
Other Linker Flags in build settings, and the SDK supports
- all_ load
Project needs to find Link Binary With Libraries in
TARGETS - >
Build Phases, click "+", and then add the following dependent libraries in order.
Note: Add the
ImageIO.framework if the above dependency library is still reporting errors.