This page describes the RFP iOS SDK installation procedure.
You can use the SDK by entering the information as follows in Podfile, and using pod install
.
pod 'RFP-iOS-SDK'
Add the following to Cartfile and execute carthage update
.
binary "https://raw.githubusercontent.com/fout/RFP-iOS-SDK/master/RFP-iOS-SDK.json"
See Carthage README.md for details on Carthage project settings.
Set AdSupport.Framework using the following procedure.
Select the project file
Select the build target
Select the Build Phase tab
Click the + button on the Link Binary with Libraries section
Select AdSupport.framework
Click the Add button
Perform the Other Linker Flag
settings according to the following procedures.
Select the project file
Select the build target
Select the Build Settings tab
Search and select Other Linker Flags
5.Add the -ObjC
flag
This completes the installation.
The Bridging-Header.h
file is required.
Refer to the following.
// RFP-Bridging-Header.h
#ifndef YourProject_Swift_RFP_Bridging_Header_h
#define YourProject_Swift_RFP_Bridging_Header_h
#import <RFP/RFP.h>
#import <RFP/RFPInstreamAdLoader.h>
#import <RFP/RFPInstreamInfoModel.h>
#import <RFP/RFPOutstreamVideoAdLoader.h>
#import <RFP/RFPPlayerControl.h>
#import <RFP/RFPExceptionDelegate.h>
#endif
$(SRCROOT)/$(PROJECT)/RFP-Bridging-Header.h
in the Objective-C Bridging Header
property.This SDK uses IDFA for measuring advertising results.
IDFV is used for fraud detection and other purposes only if the user does not wish to obtain IDFA.
See FAQ for details on information acquired from terminal.