Getting real file locations for resources

Getting real file locations for resources
0.0 0

#1

I am using a 3rd Party C++ library (chaiscript) (which is awesome, by the way).

It’s a scripting library, and allows the use of
use “filename.chai”
to reference one script file from another.

My script files are all in a folder inside the resources folder in my XCode project.

When run on the Mac, it is fine, and the files are found.

When I run on Ios the ‘use’ statement fails as the used file isn’t found.

The library allows an array of paths to be specified to search in, but I can’t figure out how to find the path to the Resources folder.