错误同时加入Admob的 [英] Errors while adding Admob

查看:140
本文介绍了错误同时加入Admob的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加Admob的到我的应用程序。我所要做的就是放下Admob的文件到我的应用程序,我得到这些错误:

我没有错误,我才加入Admob的...

下面是完整的错误:

 错误:无法打开可执行文件'/Users/Library/Developer/X$c$c/DerivedData/AppName-/Build/Products/Debug-iphonesimulator/AppName.app/AppName'
 

解决方案

所有的链接库从这个名单(第3步):

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

和增加 -ObjC 其他连接标志为您目标(第4步):

来源:本指南

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'

解决方案

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

这篇关于错误同时加入Admob的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆