Banner BuildPackage_iOS_DFP English - mkaji-geniee/Geniee-SDK-Unity-Plugin GitHub Wiki

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. Write the following in PlayServicesResolver-> Editor-> GNDependencies.

    • (If you do not use cocoapods please delete every iosPods tag)
    <iosPods>
    
        <iosPod name="Google-Mobile-Ads-SDK" version="~> 7.0" bitcodeEnabled="true"
                minTargetSdk="6.0">
          <sources>
            <source>https://github.com/CocoaPods/Specs</source>
          </sources>
        </iosPod>
    
        <iosPod name="Geniee-iOS-SDK" />
    
        <iosPod name="Geniee-DFP-Mediation-Banner-Adapter" />
    
      </iosPods>
    
    
  4. If you have not edited Bundle Identifier etc, press Player Settings and edit the necessary setting items.      You can select Device SDK or Simulator SDK with * Configuration -> Target SDK. Please switch according to the execution environment.      * Target minimum Set iOS Version to at least 9.0.

  5. Press Build.

  6. (When using cocoapods) `` `pod update``` is executed within the dir of the xcode project

  7. (When using cocoapods) Open the Xcode project side on the xcworkspece side and confirm that the library is downloaded under Pods / Pods.

2. Target -> Build Settings (All)

Enable Modules(C and Objective-C)

Please set it to YES.

3. Resolve conflicts with Google Mobile Ads

  1. Remove -framework "GoogleMobileAds" from the following file of the xcode project
  • Pods
    • Pods-Unity-iPhone.release.xcconfig
    • Pods-Unity-iPhone.releaseforprofiling
    • Pods-Unity-iPhone.releaseforrunning.xcconfig
    • Pods-Unity-iPhone.debug.xcconfig

Cocoapods introduction is over.

4. Manual deployment (deprecated)

  1. To implement the manual installation procedure, first refer to the manual installation procedure of the banner and implement manual installation.

    Banner advertisement (manual installation manual)

  2. https://github.com/geniee-ssp/Geniee-iOS-SDK/tree/master/GNAdDFPBannerMediationAdapter/Framework/ GNAdDFPBannerMediationAdapter.framework from DL

  3. Drag and drop GNAdDFPBannerMediationAdapter.framework to Framework

  4. Delete GNAdDFPBannerMediationAdapter.framework in General's Linked Frameworks and Libraries and add it to Embedded Binaries

⚠️ **GitHub.com Fallback** ⚠️