6

Hopefully a lightweight question, but I haven't been able to find an answer....I need to write a script for my Xcode project that copies files from a directory a couple of levels above my project directory.

I don't know enough about writing these scripts to get to the parent of the environment variable. I tried

${PROJECT_DIR}/../../my-source-folder/

But that didn't work.

4

1 回答 1

6

这个解决方案对我来说很好:

$(PROJECT_DIR)/../ 
于 2015-09-25T15:38:24.277 回答