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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章