views:

36

answers:

2
+1  Q: 

Xcode build phases

Hey guys I was wondering if in an xcode build phase if it was possible to get the users root directory.

Right now I am trying to copy it to "~/" but it says that doesn't exist Is there another way to get the user directory (or the users short name)?

Or is there a system folder I can write to that won't run into permission problems?

+1  A: 

Nevermind I figured it out I just used this "$HOME/bin/"

Justin Meiners
+1  A: 

I would just use the $HOME environmental variable. So for the Application Support folder, you would do:

"$HOME/Library/Application Support"

Ryan Pendleton