This package contains Yandex Advertising Network Mobile SDK and source code of samples of SDK usage.
Documentation could be found at the official website
EULA is available at EULA website
Install CocoaPods to manage project dependencies, if you haven't done it yet.
Install dependencies: pod install --repo-update
Open the YandexMobileAdsExample.xcworkspace file with Xcode.
Build and run.
Add package to your project
Add -ObjC
to OTHER_LDFLAGS
Ensure that your target is linked binary with YandexMobileAdsPackge
(Your target -> Build Phases -> Link Binary With Libraries
)
Add MobileAdsBundle.bundle
from YandexMobileAds
(Package Dependencies -> YandexMobileAdsPackage -> Referenced Binaries -> YandexMobileAds
) to Copy Bundle Resource phase
(Your target -> Build Phases -> Copy Bundle Resource
)
Build and run.
File with a list of SKAdNetwork identifiers