iOS Package build procedure

Please follow the procedure below to create it.

  1. Creating xcodeproj
  2. Adding an adapter
  3. Build Settings settings
  4. Manual introduction

1. Creating xcodeproj

  1. Select File -> Build Settings from the menu bar.
  2. Select Platform iOS.
  3. Describe the ADNW to be used for PlayServicesResolver-> Editor-> GND dependencies. * (If you do not use cocoapods please delete every iosPods tag)
<iosPods>

    <iosPod name="AppLovinSDK" version="~> 5.1.1" />

    <iosPod name="MaioSDK" version="~> 1.4.0" />

    <iosPod name="NendSDK_iOS" version="~> 5.0.2" />

    <iosPod name="ZucksAdNetworkSDK" version="~> 4.7.8" />
    
    <iosPod name="TapjoySDK" version="~> 12.0.0" />   
        
    <iosPod name="VungleSDK-iOS" version="~> 6.2.0" />
        
    <iosPod name="UnityAds" version="~> 2.3.0" /> 

    <iosPod name="Geniee-iOS-SDK" />
    
    <iosPod name="Geniee-Google-Mediation-Adapter" />

</iosPods>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  1. If you have not edited Bundle Identifier etc., please press Player Settings and edit the necessary setting items.
    • You can select Device SDK orSimulator SDK with * Configuration -> Target SDK. Please switch according to the execution environment.
    • Target minimum Set iOS Version to at least 9.0.
  2. Press Build.
  3. (If you use the cocoapods) Run in the dir with xcode project pod update
  4. ensure that it is the library is downloaded to the bottom of the Pods / Pods open the Xcode project side of xcworkspece side (if you are using cocoapods).

2. Add an adapter

Perform this item only for interstitial

In the project (xcworkspece if cocoapods is used, xcodeproj for non-cocoapods), add the adapter by dragging and dropping it to the folder according to the framework of the added ad network.

Please obtain the Adapter from uri below.

https://github.com/geniee-ssp/Geniee-iOS-SDK/tree/master/fullscreenMediation

  • In the case of Maio
    • GNSAdapterMaioFullscreenInterstitialAd.h
    • GNSAdapterMaioFullscreenInterstitialAd.m
  • In the case of AppLovin
    • GNSAdapterAppLovinFullscreenInterstitialAd.h
    • GNSAdapterAppLovinFullscreenInterstitialAd.m
  • In the case of Nend
    • GNSAdapterNendFullscreenInterstitialAd.h
    • GNSAdapterNendFullscreenInterstitialAd.m
  • In the case of Zucks
    • GNSAdapterZucksFullscreenInterstitialAd.h
    • GNSAdapterZucksFullscreenInterstitialAd.m
  • In the case of Tapjoy
    • GNSAdapterTapjoyFullscreenInterstitialAd.h
    • GNSAdapterTapjoyFullscreenInterstitialAd.m
  • In the case of UnityAds
    • GNSAdapterUnityAdsFullscreenInterstitialAd.h
    • GNSAdapterUnityAdsFullscreenInterstitialAd.m
  • In the case of Vungle
    • GNSAdapterVungleFullscreenInterstitialAd.h
    • GNSAdapterVungleFullscreenInterstitialAd.m
  • In the case of Imobile
    • GNSAdapterImobileFullscreenInterstitialAd.h
    • GNSAdapterImobileFullscreenInterstitialAd.m

Please add drag-and-drop the fullscreenMediation directory directly under the project to enable all.

Info.plist editing (only when using AppLovin)

Only when using AppLovin, please add the following to Info.plist (Open as> Source Code)(Please contact Geniee in charge regarding the value of XXXXXX).

<key>AppLovinSdkKey</key>
<string>XXXXXX</string>
1
2

3. Target -> Build Settings (All)

Enable Modules(C and Objective-C)

Please set it to YES.

4. Update Info.plist

If you are introducing GoogleMobileAds, the application crashes unless you include the admob or Google Ad Manager tag in Info.plist.

  • Information of admob
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-################~##########</string>
1
2
  • Information of Google Ad Manager
<key>GADIsAdManagerApp</key>
<true/>
1
2

5. Introduce manually

  1. To implement the manual installation procedure, please refer to the manual introduction procedure of Fullscreen Interstitial first and implement manual installation.

    Manual installation manual

Last Updated: 7/21/2020, 6:51:48 PM