Install iOS SDK english - Hiroaki-Shinoda/Geniee-iOS-SDK GitHub Wiki

Getting Started

This guide explains how to install Geniee Ads SDK to iOS application.

Installation Steps :

  1. Download Geniee iOS SDK
  2. Add Xcode Project

Download Geniee iOS SDK

Download Geniee iOS SDK from the URL below;

Add Xcode Project

  1. Unzip iOS Ads SDK

  2. Add Ads SDK framework
    Right-click the project-icon in project explore in Xcode and
    add GNAdSDK.framework from [Add Files to.. ] image

  3. Add Framework
    You will need to add some optional and mandatory frameworks to your Xcode project to make sure the SDK works properly. Open the project setting and choose [Build Phases]->[Link Binary With Libraries] and add frameworks below:

    • UIkit.framework
    • AdSupport.framework
    • CoreGraphics.framework
    • CoreLocation.framework
    • CoreTelephony.framework
    • libxml2.dylib
    • SystemConfiguration.framework
    • AVFoundation.framework
    • AudioToolbox.framework
    • CoreFoundation.framework
    • CoreMedia.framework
    • QuartzCore.framework
    • MessageUI.framework
    • Foundation.framework
  4. Add network library (Reachability);

    1. No need to add, if Reachability is already included in project or another library.
    2. Add Reachability.h, Reachability.m under libs if Reachability is not used.
  5. Add XML analyze library (KissXML)

    1. No need to add, if KissXML is already installed or in another library.
    2. Import .h and .m files of KissXML in libs to project.
    3. Add libxml2.dylib framework to project
    4. Add -lxml2 to [Build Settings]->[Other Linker Flags].
    5. Add ${SDKROOT}/usr/include/libxml2 to [Build Settings]->[Header Search Paths].
  6. Using ARC(Automatic Reference Countint)

    1. Enable the ARC option if project does not use ARC.
    2. Choose the target and add -fobjc-arc to [Build Settings]->[Linking]->[Other Linker Flags].
  7. Disable change the Bitcode

    1. If you are using a version of the Ad SDK less than V.2.1.3, disable change of the "Enable Bitcode" projects in Xcode7.
    2. To change, please select a target in the project root, and set "No" to
      "Build Settings" → "Build Options" → "Enable Bitcode".