Re: OCUnit on Xcode .. I'm lost.
Re: OCUnit on Xcode .. I'm lost.
- Subject: Re: OCUnit on Xcode .. I'm lost.
- From: Mike Zornek <email@hidden>
- Date: Wed, 18 Feb 2004 14:36:12 -0500
On 2/18/04 12:42 PM, "Marco Scheurer" <email@hidden> wrote:
>
> From its
>
> documentation
>
> on how to install it for Xcode:
>
>
>
>> * Copy the tools from Extras/Xcode Integration/Tools in
>
>> ~/Developer/Tools.
>
>> * Copy the templates from Extras/Xcode Integration/Templates in
>
>> ~/Library/Application Support/Apple/Developer Tools.
>
>> * Build the SenTestingKit framework project.
>
>
>
> I got the copying stuff down but need more direction when it comes to
>
> building the "SenTestingKit framework project".
>
>
There's nothing special about this. Just build it and optionally
>
install it where you want it. For instance, we put all our built
>
products in a "Build" directory, and our frameworks are found "Relative
>
to Build Product", so there is nothing more to do (no need to install
>
in /Library/Frameworks for instance). Of course if you install
>
SenTestingKit in a special place you need to add it correctly to your
>
projects, but then this is more a "how to use frameworks in Xcode
>
projects" question than an OCUnit question.
Come to think of it, this is a "how to use frameworks in Xcode projects"
question, though it is specifically related to my pursuit of using OCUnit --
which would be used my cocoa developers, hence my posting to the list.
So, I opened up the the SenTestingKit framework xcode project, hit build
(Note: By default it seems to be in development build style. Is this ok?),
noticed it built successfully, and then noticed a new build folder created
with the following inside:
SenTestingKit.build
SenTestingKit.framework
According to you I can "optionally install where [I] want". Which I take to
mean I can leave them where they are. I do so, open up the Person example
and build to find these errors:
TestPerson.h:10: SenTestingKit/SenTestingKit.h: No such file or directory
TestPerson.h:15: error: cannot find interface declaration for `SenTestCase',
superclass of `TestPerson'
Person.m:10: SenFoundation/SenFoundation.h: No such file or directory
Person.m:21: implicit declaration of function `ASSIGN'
How do I install the framework properly?
~ Mike
-----
Mike Zornek
Web Designer, Media Developer, Programmer and Geek
Personal site: <
http://MikeZornek.com>
New Project: <
http://WebDevWiki.com>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.