FAQ

Debugging

[I2WAPI initWithVerboseLog:YES isTestMode:NO];

Set verbose log to YES when initializing SDK for debugging.

App Crash Issue

1. [__NSArrayI enumFromString:]: unrecognized selector

  • App crashed with the following message:

    [__NSArrayI enumFromString:]: unrecognized selector sent to instance 0x78e37970
  • Add -ObjC flag in TARGETS -> Build Settings -> Linking -> Other Linker Flags

2. UIApplicationInvalidInterfaceOrientation

  • App crashed with the following message:

    Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation',
    reason: 'Supported orientations has no common orientation with the application, 
    and [SOSplashADViewController shouldAutorotate] is returning YES'
  • Your app does not support orientation required by ad.

  • Make sure your app supports both portrait and landscape mode.

No Ad Issue

  • Make sure SDK is initialized in expected environment (normal mode or test mode).

  • Check splash2ADDidFail callback, you can get error code :

    • CEADLoadErrorNoADCandidate (value: 1)

      • There is no ad to serve.

    • CEADLoadErrorTimeout (value: 2)

      • It is timeout for your requesting.

    • CEADLoadErrorSDKNotReady (value: 3)

      • The initialization of SDK has not yet been completed, please wait few seconds.

    • CEADLoadErrorNoADServing (value: 5)

      • This Crystal Id is disabled, please contact with your Intowow account manager.

    • CEADLoadErrorInvalidPlacement (value: 6)

      • Please check your placement is corrector.

    • CEADLoadErrorInvalidParameter (value: 7)

      • Make sure all required parameters are set.

    • CEADLoadErrorInvalidThread (value: 9)

      • Make sure the ad load process is on the correct thread.

  • Invalid Crystal Id:

    error:[Request failed: not found (404)], please reverify your crystal_id is set correct
    • Please check the Crystal_Id in CrystalExpress.plist (Crystal_Id is composed of 32 non-space characters).

  • Check the network connection. Video ad will be downloaded only under Wi-Fi environment by default.

  • Make sure your phone has enough storage space (at least 350 MB).

  • Make sure there is no other app with the same Crystal ID.

  • Make sure the placement names used in the app are identical to the settings in CrystalExpress™ Backend.

Last updated