Integrated new RevMob.frmework in Cocos2D games.
Now getting many compilation error in my Cocos2D 1.0 game and only linker error in other cocos2D 2.0 game.
In Cocos2D 2.0, Linker errors are:
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
Which system framework missed? Already added StoreKit.framework
In cocos2D 1.0, along with these linker error, getting some compilation errors too. It is showing "Expected a property attribute before *, in below line(in RevMobAds.framewors)
@property (nonatomic, strong) NSArray *supportedInterfaceOrientations;
How can I over come all these problem and get new revMob sdk in cocos2d game?
This errors happen due to the use of LLVM GCC 4.2 as a compiler, to solve this issues just make the following changes:
RevMobBanner.h line 35: change "strong" to "retain"
@property (nonatomic, retain) NSArray *supportedInterfaceOrientations;
RevMobButton.h line 51: erase "atomic"
@property (readonly) RevMobButtonStatus status;
RevMobFullscreen.h line 25: change "strong" to "retain"
@property(nonatomic, retain) NSArray *supportedInterfaceOrientations;