English
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:

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

复制

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


Contents
Contact us