GADMobileAds.configure(withApplicationID:“AppID here”)不起作用

时间:2017-04-03 01:09:47

标签: ios swift xcode firebase admob

我正在尝试在我的应用中实施横幅广告并遇到障碍。

这是我的代码:

import UIKit
import Firebase




@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    // Override point for customization after application launch.
    FIRApp.configure()
    GADMobileAds.configure(withApplicationID: "APPID HERE")
    return true
}

这是我的错误:

Use of unresolved identifier GADMobileAds

我现在一直在看几个视频,似乎无法找出我出错的地方,任何帮助都会受到赞赏。

0 个答案:

没有答案