- Add
mopub.mm
to your XCode project - Download latest MoPub SDK on GitHub
- Add MoPubiOS/MoPubSDK folder and MoPubiOs/TouchJSON folder to your XCode project
- Add frameworks: AdSupport (set it to optional)
After plugin installation, look at example project
If you want to support AdMob, iAd, or Millenial Media network, add their respective adapter from MoPub SDK to XCode. See this tutorial
To support custom event you must look at mopub.mm
and then search // EXAMPLE OF CUSTOM EVENT
. Below those line is example of custom event dispatcher. See more about custom event here
This plugin has been tested on Gideros 2012.09.6 exported Xcode project and XCode 4.5.2
The lua API is compatible with MoPub Android Plugin for Gideros