Log In
You can then view all documents
Installation/iOS/Xcode settings
Xcode settings
Last updated 2022-01-19 22:37:04

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.


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


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


Contact us