2013-07-02 101 views
1

我正在開發一個應該在兩個UIViewController之間顯示插頁式橫幅的項目。ios admod插頁式網絡適配器

我正在使用admob,我的客戶向我提供了插頁式單位ID(應該等於調解ID)。

我已經下載了示例項目(https://developers.google.com/mobile-ads-sdk/docs/admob/advanced?hl=it),並且我已將我的id添加到項目中。 但我總是收到此錯誤:

2013-07-02 16:11:09.265 InterstitialExample[5289:c07] Cannot find an ad network adapter with the name(s): ( "com.google.ads.mediation.admob.AdMobAdapter"). Remember to link all required ad network adapters and SDKs, and set -ObjC -all_load in the 'Other Linker Flags' setting of your build target.

我還添加字符串-all_load與沒有運氣「其他鏈接器標記」一節。

+0

你解決了嗎? –

回答

1

客戶端爲您提供了一個針對Android的非頁內廣告單元ID。他們需要專門爲iOS創建一個。

備註:對於鏈接器標誌,如果您使用的是最新的SDK,則只需包含-ObjC