Getting started

This guide explains how to install Geniee Ad SDK on your application

Cocoapods integration

Add the following line to Podfile

pod 'Geniee-iOS-SDK'
1

Manual integration(deprecated)

Click here to see manual integration

Download Geniee SDK

Download Geniee iOS SDK from the following URL.

Xcode configuration

  1. Uncompress Geniee iOS SDK
  2. Add GNAdSDK.xcframework

Right-click the project icon in Xcode's Project Explorer and add GNAdSDK.xcframework from [Add Files to ..]

「Build Settings」→「Framework Search Paths」(Set the path of GNAdSDK.xcframework) image

  1. Add additional neccesary frameworks

  2. Open the project settings

  3. Select Build Phases

  4. Expand Link Binary With Libraries

  5. Add the following frameworks.

  • UIkit.framework
  • AdSupport.framework
  • CoreGraphics.framework
  • CoreLocation.framework
  • CoreTelephony.framework
  • libxml.2.2.tbd
  • SystemConfiguration.framework
  • AVFoundation.framework
  • AudioToolbox.framework
  • CoreFoundation.framework
  • CoreMedia.framework
  • QuartzCore.framework
  • MessageUI.framework
  • Foundation.framework
  • AppTrackingTransparency.framework
  1. Add Reachability library for internet connection
  • If Reachability is NOT added, then add Reachability.h and Reachability.m to your project. Otherwise, it is unncessary to add again because errors might occur
  1. Add KissXML library

  2. If KissXML is NOT added, then add KissXML.m and KissXML.h to your project. Otherwise, it is unncessary to add again because errors might occur

  3. Add -lxml2 to Other Linker Flags in the project's Build Settings.

  4. Add ${SDKROOT}/usr/include/libxml2 to Header Search Paths of the project's Build Settings.

  5. The SDK uses ARC(Automatic Reference Countint)

  6. When adding SDK to a project not using ARC, set the option to enable ARC appropriately.

  7. For setting, select the target in the project route and add -fobjc-arc to Build SettingsLinkingOther Linker Flags.

  8. Disable Bitcode

  9. When using advertisement SDK of version less than V.2.1.3, change the project's Enable Bitcode to invalid in Xcode 7.

  10. To change, select the target in the project route and set No to Build SettingsBuild OptionsEnable Bitcode

Last Updated: 3/18/2021, 4:14:05 PM