Is it possible to access the user directory "~/" in an Xcode build script phase?
Right now I am trying to directly use "~/" but on compilation it complains the 开发者_高级运维directory doesn't exist. Is there another way to get the user directory (or the name of the user folder)?
I would just use the $HOME environmental variable. So for the Application Support folder, you would do:
"$HOME/Library/Application Support"
I figured it out I just used this "$HOME/"
精彩评论