When I compile code with getCurrentWorkingDirectory in release mode on xcode and the run the .app independently I get no information on the current directory. This does work in debug mode. Any thoughts?

Well the code’s right there in File::getCurrentWorkingDirectory(), so you can see how simple it is - it just calls getcwd. Try tracing into it or adding some printfs to see what’s going on there. I can’t think of any reason why it’d work differently in release mode.