Re: Objective-C Unit Testing
Re: Objective-C Unit Testing
- Subject: Re: Objective-C Unit Testing
- From: Seth Willits <email@hidden>
- Date: Mon, 29 Mar 2010 17:09:31 -0700
I just got your email as I sent mine. Talk about timing.
On Mar 29, 2010, at 4:36 PM, Chris Hanson wrote:
> You’ll need to add a build setting to your app target to have its symbols not hidden by default. In the 64-bit runtime, each Objective-C class generates a symbol that users of the class link against; these aren’t exported by default for executables like they are for libraries.
This sounds like it should really be mentioned in the Unit Testing Guide.
What build setting would that be? -fvisibility=default?
Uhh... I just turned Fix & Continue back off to test fvisibility, and it's continuing to link just fine. Cleaned and rebuilt everything. This is wacky. Grrr.
At any rate, fvisibility seems to do the trick in my test project.
--
Seth Willits
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden