Ticket #1047 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Building Colloquy fails when Xcode has customized build location

Reported by: duff Assigned to: timothy
Priority: normal Component: Colloquy (GUI)
Version: Built Source Severity: minor
Keywords: Cc:

Description

# Problem

I have checked out the Colloquy svn trunk as ~/Colloquy.

In Xcode → Preferences → Building I have set “Place Build Products in: Customized Location:” to ~/xcode_products.

This normally means that my build products end up in ~/xcode_products, though all but the Chat Core framework changes this location in their respective Xcoee project files (“Build Products Path”) to ../../build. This means they (correctly) end up in ~/Colloquy/build.

Both the Chat Core and Colloquy project however does not set this build directory, and thus these end up in ~/xcode_products, this itself is not a problem, but Chat Core relies on the AGRegex framework, and includes AGRegex/AGRegex.h — normally the build product directory is set as the framework search path, but with my setup that is ~/xcode_products and *not* ~/Colloquy/build (where the AGRegex framework is), so the Chat Core framework build fails on my system.

# Proposed Solution

By setting “Build Products Path” to build for both the Colloquy and Chat Core project, these will build into (on my system) ~/Colloquy/build and will thus find the AGRegex framework when building.

So I suggest making that change to the Xcode project files.

I would like to attach a patch, but svn diff on the Xcode project files show a lot of other (implicit) changes (automatically) done by Xcode 2.4 (I just love dealing with this proprietary build format!)

Change History

04/23/07 23:15:36 changed by timothy

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [3647].