Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode font disappeared

I imported my fonts on my project (Roboto), it worked with my first ViewController, but now Roboto disappeared of my Custom Fonts. Now when I want to modify my font, the font changed to Helvetica.

I don't understand how it happened, I didn't change the fonts folder.

like image 991
alexandresecanove Avatar asked Mar 26 '15 21:03

alexandresecanove


2 Answers

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

like image 127
Andrej Avatar answered Nov 08 '22 11:11

Andrej


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

like image 34
chancyWu Avatar answered Nov 08 '22 11:11

chancyWu