로딩중입니다
SDK installation : iOS
6/5/2015 3:35:16 PM

IGAW Common Integration

All IGAWorks services are available as common modules + add-ons.
In order to use services such as Adbrix, adPOPcorn (OfferWall, DA), LiveOperation, promotion, coupon, Nanu, etc., the add-ons must be integrated after common integration is completed.
IGAWorks iOS SDK has an integrated version available for all services. After the common integration is completed, the header of the respective services should be imported to proceed with the add-on integration.


SDK Installation Guide & Download
There are two ways to install the IGAWorks iOS SDK.
Select either of the following methods to install the iOS SDK.
 
  • CocoaPods
  • Manual installation
 
Minimum requirements
The minimum requirements to install the IGAWorks iOS SDK are as follows:
  1. Xcode 7.0 or higher
  1. iOS SDK 9.0 or higher
  1. Deployment Target 6.0 or higher
Download the latest version of the iOS SDK in the following link:
[SDK Download Page]



CocoaPods
IGAWorks iOS SDK supports auto installation via CoCoaPods.
Use CocoaPods for a more convenient SDK installation.
 
CocoaPods: Installation & Initialization
If no CocoaPods is installed, execute the Mac OSX terminal and install CocoaPods.
$ sudo gem install cocoapods
Once installation is complete, the terminal screen below will be displayed:

Initialize CocoaPods after the installation is complete.
$ pod setup
Successful installation of cocoapods after completing the initialization process will result in the following screen. 


Podfile: Creation & Editing
Access the folder with the Xcode project file to apply CocoaPods. After that, create a Podfile.
$ cd /path/to/MyXcodeProject
$ touch Podfile


Execute the vi Editor in the terminal and edit the content of the Podfile as follows:
platform :ios, '8.0'
pod 'IgaworksAD'

 


If  you want to install the several framework by service, please refer below guide to add pod.

platform :ios, '8.0'
pod 'IgaworksCore'
pod 'AdBrix'
pod 'AdPopcornOfferwall'
pod 'AdPopcornDA'
pod 'IgaworksCommerce'
pod 'IgaworksCoupon'
pod 'IgaworksNanoo'
pod 'LiveOps'

+ '8.0' in platform means minimum iOS version supported in Xcode project.

+ It may occur incoding error in basic text editor.

 
IGAWorks iOS SDK: Installation & Confirmation
Enter the following command to install the iOS SDK:
$ pod install  
Once the installation is complete, enter the following command to verify if the IGAWorks iOS SDK is installed properly in the Xcode project:
$ open MyXcodeProject.xcworkspace



To apply the updated IGAWorks iOS SDK at a later time, enter the following command:
$pod update


IGAW Common Integration API
After installation is complete, access the following link and proceed with the IGAW common integration.
[IGAW CommonIntegration: iOS API] 
Manual installation
If you want to install the SDK manually rather than by CocoaPod, refer to the following guide.
 

Requirements by services

Framework, dependencies, bundles differ buy service you want to use.

Please refer below table to install. 

frameworkservicedependenciesbundlesbundle description
IgaworksCoreTracking Link

Basic Analytics
Adpopcorn CPI ADs
libxml2.dylib
iAd
CoreTelephony
SystemConfiguration
UIKit
Security
CoreGraphics
CoreText
--
AdBrixAdvanced Analytics
MessageUI--
Cross PromotionSocialAdBrix.bundleCrossPromotion, CPI+Friend invitation
AdPopcornOfferwallAdpopcorn OfferwallImageIO
MessageUI
SafariServices
MediaPlayer
AdSupport
AVKit
AVfoundation
CoreMedia
AdPopcornOfferwall.bundleSupport iphone device only(default)
AdPopcornOfferwall_ipad.bundleSupport ipad device only(option)
AdPopcornOfferwall_iphone_ipad.bundleSupport universal devices(option)
AdPopcornDAAdpopcorn Display AD

AdSupport
MessageUI
MobileCoreServices

AdPopcornDA.bundle-
LiveOpsLive Operation Push & Popup-LiveOps.bundle-
IgaworksNanooNanoo CommunitySafariServicesIgaworksNanoo.bundle-
IgaworksCouponCoupon-IgaworksCoupon.bundle-
IgaworksCommerceAdbrix for Commerce--

* bundle file is at framework > Resources folder.  (ex:  AdBrix.framework > Version > A > Resources)

* NOTE: adPOPcorn requires bundle file included in SDK.

* Latest version(v2.0.8) of adPOPcorn requires below Dependencies.

  • AVKit.framework
  • AVfoundation.framework
  • CoreMedia.framework

Adding a Framework
Download the latest IgaworksAD_iOS~*.framework file and drag it to the Xcode project folder.
[SDK Download Center]


Adding Dependencies
Add dependencies to use the framework. The list of required dependencies to add is as follows:


1. AdSupport.framework

2. CoreData.framework

3. CoreGraphics.framework

4. CoreTelephony.framework

5. CoreText.framework

6. Foundation.framework

7. iAd.framework

8. ImageIO.framework

9. libxml2.framework

10. MediaPlayer.framework

11. MessageUI.framework

12. MobileCoreService.framework

13. QuartzCore.framework

14. Security.framework

15. Social.framework

16. SystemConfiguration.framework

17. UIKit.framework


Adding Bundle Resource

Add bundle resources file by services you want to use. 

Please refer above [Requirement by Services] table to see required bundle file. 


adPOPcorn OfferWall bundle

adPOPcorn OfferWall bundle supports iPhone device.  You can choose bundle file by UI/UX of app you want to integrate.

Bundle NameSupport DeviceDescription
AdPopcornOfferwall.bundleiphone onlyDefault bundle resources, iPhone App Layout
AdPopcornOfferwall_ipad.bundleipad onlyCustom bundle resources, iPhone App Layout
AdPopcornOfferwall_ipad_iphone.bundleuniversalCustom bundle resources, Universal App Layout

Select bundle you want to utilize, change its name as AdPopcornOfferwall.bundle and add it in project.


Adding Build Options
Go to the Build Settings Pane -> Linking -> Other Linker Flags section, and add build options such as -all_load or -force_load.
+ If the "-force_load" option is in use, the IgaworksAD_iOS~*.framework file's location path should be indicated in the settings.

IGAW Common Integration API
After installation is complete, access the following link and proceed with the IGAW common integration.
[IGAW Common Integration: iOS API]