Xcode font disappeared Xcode font disappeared xcode xcode

Xcode font disappeared


I had the same problem, also using Roboto. After restarting Xcode the font reappeared.


No need to reinstall the font, since it's already added to the project. Just quit Xcode and delete DerivedData then start Xcode again. The custom font should be ok.I delete the whole DerivedData folder, since Xcode will generate it automatically.

rm -rf ~/Library/Developer/Xcode/DerivedData


Try to use the custom font on one of your UILabel through the storyboard, after that search for the custom font programatically:

for family: String in UIFont.familyNames        {            print("\(family)")            for names: String in UIFont.fontNames(forFamilyName: family)            {                print("== \(names)")            }        }

You should be able to see the font you are looking for