Admob 7.3.1 and Swift 2.0 - Module Not Found

How do I integrate AdMob into an iOS app? Other tutorials do not seem to work with the latest updates

Figured out the solution myself. I noticed that in the tutorial, there was an important section I promptly ignored:

Add other frameworks that the SDK requires
The SDK depends on the following iOS development frameworks which may not already be part
of your project:
AdSupport
AudioToolbox
AVFoundation

CoreGraphics
CoreMedia
CoreTelephony
EventKit

EventKitUI
MediaPlayer
MessageUI
StoreKit

SystemConfiguration

You must make sure these frameworks are already part of the project, since Admob depends on them. If anyone else is having similar issues as described above, try this, or read the tutorial carefully.

target overrides the FRAMEWORK_SEARCH_PATHS build settings

Selected the Project, targets-> app, then Build Settings where I added the $(inherited) line, deleting whatever specific pod had been referenced there before:

Sample Image



Related Topics



Leave a reply



Submit