I had the same problem. Running /usr/local/bin/moarfonts reset
in a build phase once, then restarting Xcode again helped me. Afterwards you should remove the build phase again.
MoarFonts broken in Xcode 5.1.1
-
03-07-2023 - |
Question
For the past 4 months, I've been using Moarfonts, a Build Phase Run Script that allows you to use custom fonts in Interface Builder.
Today, when trying to build my app, the compiler thew a bunch of errors like this:
error: Failed to install Brandon Grotesque Bold: The file “Brandon_bld.otf” couldn’t be opened because there is no such file.
Not sure if these are related, but today, before building and failing, I:
- Upgraded to Xcode 5.1.1 from 5.1
- Opened up a copy of Xcode 4.6 to build and run an older project of mine
- Back in Xcode 5.1.1, ran the following commands in the terminal at Xcode's request:
- sudo chmod a+w /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/.lilid
- sudo chmod a+w /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/.lilid/.lilic
I've removed all the fonts from the Copy Bundle Resources Build Phase, and everything else looks sane.
Any ideas?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow