添加Admob时出错

时间:2014-03-22 23:17:57

标签: ios admob linker-errors

我正在尝试将Admob添加到我的应用中。我所做的只是将Admob文件放入我的应用程序中,我收到了以下错误:

enter image description here

在添加Admob之前我没有错误...

以下是完整错误:

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

1 个答案:

答案 0 :(得分:0)

从此列表中链接所有库(步骤3):

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

并为您-ObjC添加target到其他链接器标志(步骤4):
enter image description here

来源:this guide

相关问题