FontAwesome .otf not working in Xamarin IOS

Posted by

Had a problem of icons always displaying properly in preview but only showing up as boxes in the IOS emulators.   Went through all the usual manuals but the following 2 things were not often mentioned.

  1. Make sure to include “Fonts provided by application” key in Info.plist with the array of full font FILE NAMES included in the resource folder, e.g. “FontAwesome5Solid.otf
  2. Set the build action of the .otf files to Content and “Always copy”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s