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

John Ralls jralls at ceridwen.us
Sun Mar 8 19:41:43 EDT 2020

> On Mar 8, 2020, at 4:33 PM, Mike Alexander <mta at umich.edu> wrote:
> 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.

For my part I seldom use Xcode at all. I use emacs for editing and do the builds in a terminal window (I use iTerm2 rather that Terminal).

John Ralls

More information about the gnucash-devel mailing list