tags:

views:

905

answers:

1

After Xcode has finished building is there a way to make it copy the executable to specific directory (~/Sites/cgi-bin/).

I have the target "Installation Directory" set to the correct folder, with "skip installation" unchecked, but no luck.

Is there something i'm missing? Thanks

+1  A: 

Check the "Deployment Postprocessing" build setting in your target's Release configuration. Installation is normally done only with a command-line xcodebuild install, but setting Deployment Postprocessing makes it install on every build.

Ensure your user account has write privileges in the directory you want to install in, because the IDE normally doesn't run with root privileges.

cdespinosa