Current data file & icon in standalone app?

#1

Hello,

I’m trying to export an application from OF & Xcode on a mac. It includes shaders, fonts, etc. I’d also like to set a bespoke icon.

I’m having the issue where the data file does not copy into the app instance. I’ve read around and there are older solutions here: Exporting a standalone executable from xCode? and also here: http://nickhardeman.com/506/stand-alone-application-in-openframeworks/ but I can’t get them to work.

I’'m using ofSetDataPathRoot("../Resources/data/"); at the moment with no success. Is anyone able to explain what I should be doing?

S