On 9 Oct 2007, at 21:38, Chris Stewart wrote:
> As a learning exercise, I'd like to create a simple repository
> browser in Objective-C and Cocoa. My question for the list is how
> I can "import" the Subversion binaries/whatever into my xcode
> project so I can call the Subversion API functions.
There's only recently been quite a long discussion about that on this
list. Unfortunately, I don't have access to the www at the moment so
I can't point you at the thread in the archives.
Basically, you have to compile and install the Subversion binaries.
You need to add the include directories for subversion-1 and apr-0 to
your header search path. You have to add the Subversion library path
and APR library path to your library search path. Then you need to
add a load of libraries to your project and put them in the "Link
Binary with libraries" build step for your target. These include a
lot of the libsvn_xxx.dylib libraries, libapr-0.dylib,
libaprutil-0.dylib, libexpat.dylib, libdb-4.x.dylib (or use the .a
static libraries if you prefer). You may also need
Security.Framework (Mac OSX Subversion has functions to store
passwords in the keychain).
>
>
> --
> Chris Stewart
> cstewart913@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 11 20:03:21 2007