[GNC-dev] A little hint for xcode usage (scheme)

Mike Alexander mta at umich.edu
Sun Mar 8 19:33:47 EDT 2020


On 8 Mar 2020, at 17:59, jeanl wrote:

> The xcode project has tons of scheme. My question is: which scheme do 
> I use
> to be able to build gnucash, place a break point in any given file and 
> start
> debugging?

The short answer is that you want the ALL_BUILD scheme.

For more info look for the section "Using Xcode on OS X" in 
gnucash/cmake/README_CMAKE.txt in the source tree.  I've used XCode with 
GnuCash quite a lot and it works fine.  I don't, however, use jhbuild to 
build it.  Instead I install all the dependencies using MacPorts and 
then run cmake and either XCode or scodebuilt to build it.  This may be 
relevant since the result is a traditional out-of-source build tree not 
a MacOS package.  This may or may not matter.

It's much faster, by the way, to let XCode do the build than using 
xcodebuild.  The latter seems to single-thread the build while XCode 
does parallel builds.  At least that's what it seems like, I haven't 
really verified that.

          Mike


More information about the gnucash-devel mailing list