AdMob的ios7错误音频框架 [英] admob ios7 error Audio framework

查看:102
本文介绍了AdMob的ios7错误音频框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的最后一个应用程序IOS7-X code5整合AdMob的SDK(目前)和我有一个新的错误(同样对新的项目),我想我错过了什么,但我重新启动的过程中多次错误还在这里:

I am integrating admob SDK (the current) in my last application IOS7-Xcode5 and i have a new error (same on new project), i guess i missed something, but i restarted the process many times and the error is still here:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_AVAudioSession", referenced from:
  objc-class-ref in libGoogleAdMobAds.a(GADDevice.o)
  "_AVAudioSessionPortHeadphones", referenced from:
      -[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)
  "_AVAudioSessionPortBuiltInSpeaker", referenced from:
      -[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)

我发现了如何在增加AudioUnit.framework解决这些错误,但一个新的错误出现找不到框架AudioUnit ......作为我最好的朋友,通过谷歌计算器告诉我,不要用AudioUnit.framework,它是空的!现在,使用CoreAudio.framework。但我的第一个错误回来了......

I found how to resolve these errors in adding AudioUnit.framework but a new error appears framework not found AudioUnit... As my best friend Google tell me via stackoverflow, "don't use AudioUnit.framework, it's empty! Now use CoreAudio.framework." But my first error came back...

如果有人有同样的问题,主要是一个解决方案,我将不胜感激:)

If someone has the same problem and mainly a solution, i will be grateful :)

PS:我想-all_load和-ObjC,我挂AudioToolbox,我平时工作用的框架也与纰漏;):/

PS: i tried -all_load and -ObjC, i linked AudioToolbox, i usually work with frameworks but also with careless mistakes ;) :/

推荐答案

嘿嘿增加 AVFoundation框架,因为这些类都包含在这个框架。

hey add AVFoundation framework, because these classes are included in this framework.

这篇关于AdMob的ios7错误音频框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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