iOS FAQ
Loading Error 600009 "waterfall bean is null"
-
Check if the ad source has been configured in the mediation group of the ad slot in TradPlus backend.
-
If only overseas bidding ad sources are configured in the mediation group of the ad slot in TradPlus backend, please check if the phone's IP is overseas. It is not possible to obtain the overseas bidding configuration when the phone is using a domestic IP.
-
When testing ads, it is recommended to perform the ad loading operation after TradPlusSDK open initialization is completed.
-
If your ad loading is done immediately after the open initialization call (without waiting for open initialization to complete), version 7.1.0 or above can forcefully obtain the IDFA through the API by ignoring SDK privacy settings. This facilitates the grouping and testing of IDFA devices in mediation groups and test modes.
// Forcefully obtain IDFA by setting this interface (added in v7.1.0)
// Note: Be sure to remove or close it after testing, enabling it will ignore all privacy rules and obtain IDFA
[TradPlus forceGetIDFA:YES];
Tencent ad playback causes game or app background music to disappear
-
This issue was first reported in Tencent ad SDK version 4.13.51.
-
Due to Tencent ad SDK defaulting to use its internal AVAudioSession, it may conflict with the audio settings of your game or app.
-
You can follow the official Tencent API documentation for settings.
Source: https://developers.adnet.qq.com/doc/ios/guide
Whether to use the category and options set by SDK internally for AVAudioSession when playing audio, it is used by default. If not used, SDK will not make any changes internally, and the caller needs to set it manually when playing videos.
The category set by SDK is AVAudioSessionCategoryAmbient, and the options is AVAudioSessionCategoryOptionDuckOthers.
#import "GDTSDKConfig.h"
+ (void)enableDefaultAudioSessionSetting:(BOOL)enabled;
IronSource Loading Error
IronSource SDK does not support repeated initialization with multiple appIDs, only the appID used for the initial initialization is valid.
- When you initialize IronSource with appID_A.
- Then initialize and load ads with appID_B, IronSource will encounter a loading failure.
- errCode: 527, errMsg: The requested instance does not exist
Settings related to Kuaishou (Kwai) SDK
-
Kuaishou SDK does not support bitcode, so bitcode needs to be disabled.
-
For Kuaishou native ads, if clicking is not working, you need to implement the - (UIViewController *)viewControllerForPresentingModalView callback and return a non-empty UIViewController.
Framework Signing Settings
- When manually integrating SDKs, some SDKs need to be set to "Embed & Sign" under the General tab.
Platform | Framework |
---|---|
Kuaishou | KSAdSDK.framework |
SuperAwesome | Alamofire.framework Moya.framework SuperAwesome.framework SwiftyXMLParser.framework |
MoPub | MoPubSDK.framework OMSDK_Mopub.framework |
Smaato | OMSDK_Smaato.framework |
Ogury | OMSDK_Ogury.framework |
Meta | FBAudienceNetwork.framework (starting from v6.10.0) |
Verve | OMSDK_Pubnativenet.framework HyBid.framework |
Unity Project - Baidu Ads not displaying buttons and other elements
If you include the baidumobadsdk.bundle from Baidu's SDK into UnityFramework.framework for packaging, Baidu will not be able to locate its resource bundle, which will cause its ad buttons and other elements not to display.
To resolve this issue, manually add the baidumobadsdk.bundle to the main project in Unity for packaging.
Unable to find Kuaishou SDK after adding it through pod in Unity runtime
This issue occurs when referring to Kuaishou SDK in target 'UnityFramework'.
Developers need to refer to Kuaishou SDK in target 'Unity-iPhone' or manage the pod configuration through PlayerServicesResolver. Reference: How to configure SDK with pod in a Unity project
Common compilation errors in projects
- Solution: Create a new Swift file in the project, this will generate the necessary Swift configurations in Xcode.
Note: For Unity2019+ projects, adding an empty Swift file to UnityFramework resolves this error. After adding the file, Xcode will generate the necessary Swift configurations, and then the file can be deleted. Otherwise, it will cause Swift system library signature errors during project publishing.
-
Solution: Add libc++abi.tbd
-
Solution: Add libbz2.tbd
-
Solution: Add EventKit.framework and EventKitUI.framework
-
Solution: Add libresolv.9.tbd
-
For Unity2019+ integration, it is important to note that all Framework imports should be added under the UnityFrameworks folder.
For more issues, please contact us via email: tech_support@tradplus.com