Unable to load font: Roboto-Regular after updating

2019-04-12 18:37发布

问题:

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.



标签: google-plus