NOTICE: Please update Pangle iOS SDK to v184.108.40.206 or higher when using Xcode 14+ for app development to prevent compatibility issues.
To streamline the integration process, we are implementing notable changes to the interface and employing a novel collection of integrated methods in version 4600. This document serves as a reference for upgrading from the previous version to version 4600, detailing the interface differences. Additionally, a detailed integration document is available below for your reference. Kindly refer to the old integration document, if you require assistance with integrating versions preceding 4600.
This guide is intended for publishers seeking to monetize traffic outside of China exclusively. In the event that monetization of traffic in China Mainland with the same build is also desired, please refer to the corresponding guide located at How to import both Pangle and CSJ.
Note: ios 9 is no longer supported starting from v220.127.116.11. Pangle does not support bitcode when using Xcode 14, because Apple has deprecated the support for bitcode on Xcode 14. For detailed articles, please refer to here: link
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:
Download and unzip the SDK framework from Pangle Platform directly, and import the following frameworks and bundles into your Xcode project manually:
BURelyFoundation_Global.framework(v18.104.22.168 added, BURelyFoundation_Global is the underlying basic function library, providing basic functions for Pangle. v22.214.171.124 change name to
PAGAdSDK.framework(v126.96.36.199 added, providing basic functions for Pangle.)
PAGAdSDK.bundle(v188.8.131.52 added, providing basic functions for Pangle.)
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 before 184.108.40.206 supports
- all_ load
The 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.
The app-ads.txt project is an initiative of the Interactive Advertising Bureau (IAB) that aims to reduce mobile advertising fraud. Developers need to refer to the documentation to configure app-ads.