Help Center/Details/

Xcode settings

Operating environment configuration

-Support system iOS 9.X and above;
-SDK compilation environment Xcode 11.6;
-Support architecture: x86-64, armv7, arm64, i386

Add permissions

-Project plist file settings, click the "+" behind the information Property List on the right to expand
To add App Transport Security Settings, first click the expand arrow on the left, and then click the plus sign on the right, the Allow Arbitrary Loads option is automatically added, and the modified value is YES. The SDK API has all supported HTTPS, but the advertiser material has non-HTTPS conditions.

<key data-tomark-pass >NSAppTransportSecurity</key>
     <dict data-tomark-pass >
          <key data-tomark-pass >NSAllowsArbitraryLoads</key>
          <true data-tomark-pass />

The specific operation is shown in the figure:
Add parameters -ObjC, -l"c++", -l"c++abi", -l"sqlite3", -l"z" to Other Linker Flags in Build Settings, SDK also supports -all_load
The specific operation is shown in the figure:

About iOS 14 AppTrackingTransparency

On iOS 14 devices, CSJ recommends that you call the AppTrackingTransparency solution provided by apple when the app is launched to obtain the user’s IDFA authorization, so that CSJ can provide more accurate advertising and revenue optimization

<key data-tomark-pass >NSUserTrackingUsageDescription</key>
<string data-tomark-pass >You need to obtain the advertising identifier of your device to provide you with a better advertising experience</string>

Calling method of permission request window: requestTrackingAuthorization(completionHandler:)

Add dependency library

The project needs to find Link Binary With Libraries in TARGETS -> Build Phases, click "+", and add the following dependent libraries in turn
The specific operation is shown in the figure:

iOS localization\internationalization configuration

Note: The developer must set the supported language here, otherwise there will be language display problems.
For example: Support Chinese Add Chinese

Did the content solve your problem?
Contact us