Search code examples
iosxcoderevmob

build error while add revmob ad in iOS app


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.


Solution

  • 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