add Admob with Cocos2d-x on iOS
add Admob with Cocos2d-x on iOS
(2013-02-27 14:12:00) 轉載▼
標簽:
c=blog&q=it&by=tag" target="_blank" style="text-decoration:none; color:rgb(62,115,160); white-space:nowrap">it |
@interface
}
4. in AppController.mm
5. we are not over Yet!!!
(http://stackoverflow.com/questions/12635283/admob-crashes-with-gadobjectprivate-changestate-unrecognized-selector)
You need to add -ObjC
- Click the blue top-level project icon in XCode
-
Choose your target and go to
Build Settings -
Under
Other Linker Flags add -ObjC
for both Release and Debug
Done!!! Let‘s make money and go IPO :)
add Admob with Cocos2d-x on iOS