App crashing with +[NSDecimalNumber gad_negativeOne]: issue?


转自 :stackoverflow 


App crashing with  +[NSDecimalNumber gad_negativeOne]: issue?

My app was working before well, then i added admob framework and now its crashing .

Please check the crash logs,


    self.adBanner = [[GADBannerView alloc] initWithAdSize:kGADAdSizeSmartBannerPortrait
                                                   origin:origin]



解决方案:

You need to add "-ObjC" to Other Linker Flags of Build Settings tab. Good luck!



 

发布了17 篇原创文章 · 获赞 1 · 访问量 6万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章