xcodebuild

I have a question regarding xcodebuild. I have created a static library and I want to build it and create my .a file without using Xcode. I run xcodebuild from the terminal and it runs without generating an error and tells me that the code is built but there are no files generated in product folder. Any thoughts?

Hi,


you can specify output of xcodebuild command when launching it, for example:

xcodebuild -project <project_name> -target <target_name> -configuration <Release/Debug> build CONFIGURATION_BUILD_DIR=<custom_output>


BEWARE: CONFIGURATION_BUILD_DIR has to be an absolute path, otherwise you'll see linker errors.

xcodebuild
 
 
Q