add Admob with Cocos2d-x on iOS
Posted mfmdaoyou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了add Admob with Cocos2d-x on iOS相关的知识,希望对你有一定的参考价值。
标签:
it |
@interface AppController : NSObject <</span>UIAccelerometerDelegate, UIAlertViewDelegate,UITextFieldDelegate,UIApplicationDelegate, GADBannerViewDelegate> {
}
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
以上是关于add Admob with Cocos2d-x on iOS的主要内容,如果未能解决你的问题,请参考以下文章
Google Admob 和 Firebase with Analytics 需要哪些权限?
cocos2D-X config external library