简体   繁体   中英

using AdMob in an iOS app

I'm trying to use adMob in my iOS app and I'm unable to build the project because I'm getting the errors you can see in the screenshot.

构建错误 It seems it's being caused by a file with ".a" extension in the admob SDK. I believe it is a library or something like that. How can I fix it?

Thank you

You need to add some frameworks to your project.

  1. Click on the project in Xcode
  2. Click on the target
  3. Click on Build Phases
  4. Click on Link Binary With Libraries
  5. Click on the plus sign
  6. Add SystemConfiguration.framework, MessageUI.framework, AudioToolbox.framework to your project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM