How to specify single file in Resources via Projucer?


#1

I need to include a font in the “Copy Bundle Resources” section in Xcode’s Project -> Build Phases. I can’t see how to do this in Projucer. I can add the containing folder using “Custom Xcode Resource Folders” but in this case I need to add the font file itself.


#2

Why can’t you add it as a binary resource in your app? There is a method in the font class for loading a font from a binary resource. I can’t remember the name of it directly tho…


#3

Because its needed outside of my Juce app, in the Objective-C part of my app (for a React Native component)


#4

I was under the impression that’s what this does. Am I mistaken?


#5

Yep that did the trick, hadn’t noticed that before… cheers