osx - Separate build directory using xcodebuild -


the man page xcodebuild reads:

run xcodebuild directory containing project (i.e. directory containing projectname.xcodeproj package).

i keep source directory (which subversion external) clean , unmodified, , build object files , executables location outside of source directory.

is there way build separate build directory terminal using xcodebuild can make tools or msbuild on windows?

you can set build settings command line. configuration_build_dir set build directory. example:

xcodebuild -project yourproject.xcodeproj -configuration debug -target archs=x86_64 only_active_arch=yes configuration_build_dir=../some/other/dir 

a reference found on apple's site:


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -