2013-11-23 57 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