I have a workspace with a project which links with the static libraries in another project (which is also in the workspace). It\'s a problem in Kobold2D I haven\'t been able
You could add CONFIGURATION_BUILD_DIR=/Some/Shared/Dir before running xcodebuild. For example:
cd SOURCE_DIR xcodebuild -workspace YourProject.xcworkspace -scheme YourScheme -configuration AdHoc -sdk iphoneos clean build CONFIGURATION_BUILD_DIR="`pwd`"/build