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 />
     </dict>

The specific operation is shown in the figure:
555555.webp
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:
6666666.jpeg

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
-Accelerate.framework
-AdSupport.framework
-AudioToolbox.framework
-AVFoundation.framework
-CoreGraphics.framework
-CoreImage.framework
-CoreLocation.framework
-CoreMedia.framework
-CoreMotion.framework
-CoreTelephony.framework
-CoreText.framework
-ImageIO.framework
-JavaScriptCore.framework
-MapKit.framework
-MediaPlayer.framework
-MobileCoreServices.framework
-QuartzCore.framework
-Security.framework
-StoreKit.framework
-SystemConfiguration.framework
-UIKit.framework
-WebKit.framework
-libbz2.tbd
-libc++.tbd
-libiconv.tbd
-libresolv.9.tbd
-libsqlite3.tbd
-libxml2.tbd
-libz.tbd
-libc++abi.tbd
The specific operation is shown in the figure:
7777777.webp

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
88888.webp

Did the content solve your problem?
Contact us