MoPub Ad integration - united-adstir/AdStir-Integration-Guide-iOS GitHub Wiki
Supported OS version
iOS 8.0 or later.
Setup
Before MoPub Ad integration, please contact your account manager or contact from Contact Form.
Add MoPub SDK to project
v2.13.5 or later
- Drag & drop
AmazonAds.framework、libAdstirAdsMediationAdapter-MoPub.a、MoPub.bundleto project. - Check
Copy items if needed. - Select target from
Add to targetsbox. - Press
Finish.
v2.14.0 or higher
- Drag & drop
AmazonAds.framework、libAdstirAdsMediationAdapter-MoPub.a、MoPubSDKFramework.frameworkto project. - Check
Copy items if needed. - Select target from
Add to targetsbox. - Press
Finish. - Add MoPubSDKFramework.framework to the target's Embedded Binaries section of the General tab.
Build setting
- Open project file.
- Slect target using MoPub ad.
- Select
Build Targettab. - Enter
Other Linker Flagsto search box. - Add
-ObjCtoOther Linker Flags. - Repeat these process for other target if needed.
Dependency Framework/Library
| Name | Required |
|---|---|
| CoreGraphics.framework | Required |
| CoreLocation.framework | Optional |
| MediaPlayer.framework | Required |
| StoreKit.framework | Required |
| Webkit.framework | Optional |
If you add CoreLocation.framework, SDK does not send location with out end user permission.