FontAwesome .otf not working in Xamarin IOS

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: Logo

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

Facebook photo

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

Connecting to %s