Install iOS SDK english - unigeniee/Geniee-iOS-SDK GitHub Wiki
This guide explains how to install Geniee Ad SDK on your application
Add the following line to Podfile
pod 'Geniee-iOS-SDK', :git => 'https://github.com/geniee-ssp/Geniee-iOS-SDK.git', :branch => 'master'
Click here to see manual integration
### Download Geniee SDKDownload Geniee iOS SDK from the following URL.
- Uncompress Geniee iOS SDK
- Add
GNAdSDK.framework
Right-click the project icon in Xcode's Project Explorer and add GNAdSDK.framework
from [Add Files to ..]
「Build Settings」→「Framework Search Paths」(Set the path of GNAdSDK.framework
)
-
Add additional neccesary frameworks
-
Open the project settings
-
Select Build Phases
-
Expand Link Binary With Libraries
-
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
- Add
Reachability
library for internet connection
- If
Reachability
is NOT added, then addReachability.h
andReachability.m
to your project. Otherwise, it is unncessary to add again because errors might occur
-
Add
KissXML
library -
If
KissXML
is NOT added, then addKissXML.m
andKissXML.h
to your project. Otherwise, it is unncessary to add again because errors might occur -
Add
-lxml2
toOther Linker Flags
in the project'sBuild Settings
. -
Add
${SDKROOT}/usr/include/libxml2
toHeader Search Paths
of the project'sBuild Settings
. -
The SDK uses ARC(Automatic Reference Countint)
-
When adding SDK to a project not using ARC, set the option to enable ARC appropriately.
-
For setting, select the target in the project route and add
-fobjc-arc
toBuild Settings
→Linking
→Other Linker Flags
. -
Disable Bitcode
-
When using advertisement SDK of version less than V.2.1.3, change the project's
Enable Bitcode
to invalid in Xcode 7. -
To change, select the target in the project route and set
No
toBuild Settings
→Build Options
→Enable Bitcode