Errors while adding Admob

泄露秘密 提交于 2019-12-25 02:04:38

问题


I am trying to add Admob into my app. All I do is drop the Admob files into my app and I get these errors:

I had no errors before I add Admob...

Here is the full error:

error: unable to open executable '/Users/Library/Developer/Xcode/DerivedData/AppName-/Build/Products/Debug-iphonesimulator/AppName.app/AppName'

回答1:


Link all Libraries from this list (step 3):

  • AdSupport
  • AudioToolbox
  • AVFoundation
  • CoreGraphics
  • CoreTelephony
  • MessageUI
  • StoreKit
  • SystemConfiguration

and add -ObjC to other linker flags for you target (step 4):

Source: this guide



来源:https://stackoverflow.com/questions/22584941/errors-while-adding-admob

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!