Custom font doesn't appear in Interface Builder

I installed a custom font (Font awesome) into my app. I triple checked that I did everything right: the font files are included in the bundle (they appear in the "Copy Bundle Resources" build phase) and the names of the fonts appear in the Info.plist file under "Fonts provided by application".

In Interface builder, I select a Label, set the font to "Custom", then I click the Family list to select the font I want.

Once or twice, I was actually able to see the Font Awesome fonts in this list and select one. However, they no longer appear there when I create new labels in new views. I do not understand why. I've been limping along by copying a label from one of the views where it worked and pasting it into the new view, but this is tiresome.

I know the fonts are installed correctly because I can see them when I run the app.

Why are the fonts not showing up on the font list in interface builder?

I'm encountering the same issue, though I've never seen the font appear in the font drop down in interface builder. I'm trying to do this for a macOS app.

I feel like there is some simple step that has been missed.

On the latest distribution of Xcode and latest available macOS... all current in other words. Xcode 16.2

Did you solved this. I'm having the same issue here since updating to Xcode 16.x

I have the same issue. Did you find a solution ?

I got around this issue by opening the storyboard as source code (control click storyboard -> Open As) and updating the value directly. e.g setting the font as

<fontDescription key="fontDescription" name="FontAwesome5Free-Solid" family="Font Awesome 5 Free" pointSize="24"/>

I found the line I was working on by looking at my source control but I also could have found it by changing the font to one I am not using anywhere else and searching for it in the code to replace with the custom font.

If you have no previous reference on what to set the font as look for code that prints out all fonts by using UIFont familyNames and then fontNamesForFamilyName. There are a few code examples about. But since you are using font awesome it will probably look like the example above. Could be Font Awesome 6 Free and FontAwesome6Free-Solid if you are using version 6.

Custom font doesn't appear in Interface Builder
 
 
Q