2013-11-23 60 views
0

我在xcode 5.0和iPhone Simulator7.0中运行我的应用程序。应用程序使用admob中介sdk集成成功执行。同样的应用程序,当我运行在xcode 5.0和iPhone模拟器6.0它崩溃。并尝试没有admob中介集成它成功执行。我在“其他链接器标志”中添加了-ObjC。Admob崩溃在iOS v6.1以下

日志是:

enter image description here

我该怎么办解决这个问题?

编辑:

我添加了所有@iDev告诉框架。和日志显示:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'ADBannerView must be part of a view hierarchy managed by a UIViewController' 
*** First throw call stack: 
(0x3466052 0x2c59d0a 0xc929e5 0x1b9783e 0x1b93c72 0x1b98a4f 0x1b9272b 0x1eb9e9 0x1f1849 0x1eff76 0x1ff17c 0x1b8acf 0xc9309a 0xc90705 0x3467e72 0xc9eca1 0xca14be 0xca2058 0x2eeb3ec 0x2eed515 0x339d833 0x339cdb4 0x339cccb 0x3cc1879 0x3cc193e 0x1b5ba9b 0xa1d56 0x2f45 0x1) 
terminate called throwing an exception(lldb) 

回答

0

要包括AdMob中介于iOS在你的应用程序:

1. Add the libAdapterSDKAdfonic.a library to your project and ensure it is listed in the target's Link Binaries Build Phase. 2. Add the following additional frameworks to your target's Link Binaries Build Phase : 
CoreLocation.framework 
MediaPlayer.framework 
QuartzCore.framework 
SystemConfiguration.framework 
CoreTelephony.framework (If your app supports iOS versions before 4.0, you can add this as an optional framework.) 
EventKit.framework 
MessageUI.framework 
CoreMotion.framework 
libsqlite3.a 
libz.a 
MobileCoreServices.framework 
CFNetwork.framework