Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

build error while add revmob ad in iOS app

Tags:

xcode

ios

revmob

I want to add RevMob add in my app but there are some errors

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
  objc-class-ref in RevMobAds(RevMobStoreController.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
  -[RevMobStoreController openStoreWithITunesItemId:] in RevMobAds(RevMobStoreController.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have added StoreKit,SystemConfiguration and RevMob Frameworks already. I am using Xcode4.3 and ios4.2 Plz help me. Thanks in advance.

like image 817
Arpi Avatar asked Oct 04 '12 11:10

Arpi


People also ask

How to use Google AdMob demo on iOS?

Set the app name to GoogleAdMobDemo and choose iOS for the platform option. Click Add App to proceed to the next step. AdMob will then generate an App ID for the app and ask you to choose the supported ad format. For this demo, we use the banner ad format.

How do I sign up for AdMob?

As AdMob is now part of Google, you can simply sign in with your Google account or register a new one. AdMob requires you to have a valid AdSense account and AdWords account.

How to embed ads in your iOS app?

Similar to iAd, Google provides SDK for developers to embed ads in their iOS app. Google sells the advertising space (e.g. banner) within your app to a bunch of advertisers. You earn ad revenue when a user views or clicks your ads. To use AdMob in your apps, you will need to use the Google Mobile Ads SDK.

How to integrate AdMob with Google AdSense?

Before you can integrate your apps with Google AdMob, you’ll need to first enroll into the AdMob service. Now open the link below using Safari or your favorite browser: As AdMob is now part of Google, you can simply sign in with your Google account or register a new one. AdMob requires you to have a valid AdSense account and AdWords account.


2 Answers

You need to add the StoreKit framework

EDIT: I see now what you mean, there was an issue with the older versions, I'm adding a link to an edited framework to solve that issue: Edited Revmob Framework

like image 86
XIII Avatar answered Oct 07 '22 02:10

XIII


You must link against StoreKit.framework

like image 26
Roman Volkov Avatar answered Oct 07 '22 01:10

Roman Volkov