Richard, to solve your specific problem about the build products location you
can do either of the following
1) build with xcodebuild and set an absolute path in the SYMROOT env var.
Something like
xcodebuild -scheme yourScheme clean build SYMROOT=`pwd`/build
When you run that you’ll see that xcodebuild acknowledges your override with
Build settings from command line:
SYMROOT = /Users/xxx/xxxx/xxxx/build
2) In Xcode->prefs->locations->advanced you can select “Legacy” and by default
your build products will be placed in $(SRCROOT)/build
It sounds like this legacy settings is really what you want. If you use Xcode 5
you’ll need to make the same change.
James
> On Nov 21, 2014, at 4:59 AM, Richard Kennaway <[email protected]> wrote:
>
> The last version of Xcode I used heavily was version 4, and in version 6 I'm
> having difficulty discovering some fairly basic things.
>
>
> 1. Xcode buries all of its output products deep into ~/Library, in a
> directory
>
> /Users/rk/Library/Developer/Xcode/DerivedData/JAGLib-gncakhledusgpocxerywvbgnnlvc
>
> (JAGLib is the name of the project.) I need all of the output files,
> including the intermediate products, to be at a fixed, known location, in or
> alongside the project folder, not put in a place where only Xcode can find
> them. I have looked through all of the project settings that I know how to
> find, and I have not found whatever setting is responsible for this. The
> general layout of the project directory is
>
> the directory containing everything relevant to the project
> source directory
> stuff that none of the IDEs need to know about
> vs2003
> vs2008
> vs2010
> vs2012
> xcode3
> xcode4
> xcode51
> xcode6
> JAGLib
> JAGLib.xcodeproj
>
> Each of the eight IDE directories contains the IDE project files for that
> IDE. There are that many because I have several colleagues working with this
> project, and we're not always running the same versions of Xcode or Visual
> Studio, so none of the old ones ever get deleted.
>
> I would like the Debug and Release directories to be created by Xcode
> somewhere in the xcode6/JAGLib directory. Which settings do I need to
> change, and where in Xcode do I go to change them?
>
>
> 2. Searching through the project settings, double clicking on values (in the
> "Levels" view) reveals the definitions of some of them in terms of variables,
> e.g. "Path to Linker Dependency Info File" is:
>
> $(OBJECT_FILE_DIR_$(CURRENT_VARIANT))/$(CURRENT_ARCH)/$(PRODUCT_NAME)_dependency_info.dat
>
> Where can I find the values of these variables, and how can I set these
> values? Presumably they are being exhibited and set in this very list of
> settings, but none of them say what variable they are setting, they only give
> verbal descriptions of what they are, i.e. phrases like "Path to Linker
> Dependency Info File".
>
> Xcode's internal help system gives me a piece of an answer, in its "Build
> Setting Reference" page, which lists the variables and their default
> definitions in terms of each other. The terminal command:
>
> xcodebuild -project JAGLib.xcodeproj -target "JAGLibAll" -showBuildSettings
>
> has given me a dump of all of the settings.
>
> Many of the variables include "JAGLib-gncakhledusgpocxerywvbgnnlvc", but I
> can't see which of those variables is the origin of the alphabet soup. The
> information on the Build Setting Reference page gives me the idea that it
> might be $SYMROOT, but its value is
> /Users/rk/Library/Developer/Xcode/DerivedData/JAGLib-gncakhledusgpocxerywvbgnnlvc/Build/Products,
> which is not a prefix of all the values that include
> "JAGLib-gncakhledusgpocxerywvbgnnlvc".
>
> --
> Richard Kennaway
> [email protected], [email protected]
> http://www.cmp.uea.ac.uk/~jrk/
> School of Computing Sciences,
> University of East Anglia, Norwich NR4 7TJ, U.K.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/hello%40jmoore.me
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]