Unable to load font: Roboto-Regular after updating to new Google+ SDK

允我心安 提交于 2019-12-21 20:39:52

问题


After updating to new Google+ sdk get an error NSBundle(GPP3PAdditions) gpp_registerFonts]_block_invoke() Unable to load font: Roboto-Regular

If someone got the same? thanks


回答1:


Add "GooglePlus.bundle" file to your project from Google iOS Sdk.




回答2:


Yes it is helpfull thank you very much!!! Also if anyone using CocoaPods please see here it also will help GooglePlus with CocoaPods linking error

add ${inherited} to Other Linker Flags




回答3:


Here is the solution.

Get the fonts from finder and copy files to your project. Then in your Info.plist file make changes like

After this click on build phases make sure you included font files(Roboto..) over there.

For more clarity check it..How to include and use new fonts in iPhone SDK?

I hope it helps someone.



来源:https://stackoverflow.com/questions/25964546/unable-to-load-font-roboto-regular-after-updating-to-new-google-sdk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!