Menu

BuildingFromSVN Log in to Edit

Christiaan Hofman Adam Maxwell Michael McCracken GregJefferis

Follow the instructions below to build BibDesk from Subversion.

  1. Download the source as described on [BibDesk_Subversion_Repository]
  2. Open bibdesk/Bibdesk.xcodeproj, Xcode 3.1.1 or higher is required*, but Xcode 4 is currently not supported
  3. Build the BibDesk target
    1. Using the Set Active Target command in the Project menu, select BibDesk
    2. Using the Set Active Build Configuration in the Project menu, select Release
    3. Build the target
  4. Debug BibDesk
    1. If you want to debug (and who doesn't?), using the Set Active Build Configuration in the Project menu, select Debug
    2. Build the target again
  5. Run the Unit Tests to check your code
    1. Using the Set Active Target command in the Project menu, select Unit Tests
    2. Using the the Set Active Build Configuration in the Project menu, select Debug
    3. Build the target again. I (GJ) have this as my default target because building Unit Tests also rebuilds BibDesk
    4. For more info, including how to run the debugger on the Unit Tests see this page
  6. Code-sign BibDesk
    1. If you want to sign the executable, create a self-signing certificate named "BibDesk Signing Certificate"
    2. Follow the Code Signing Guide to create a certificate
    3. Build the target again

Done!

* It is possible to use some older versions of Xcode, but due to bugs in Xcode special precautions are required to make sure that the dependencies build using the correct configuration. After changes to the build configuration settings it is also possible to use Xcode 4, but this does not allow building for 10.5 compatibility.


Related

Wiki: BibDesk_Subversion_Repository
Wiki: Developer_Information
Wiki: Unit_Tests