• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Objective-C Unit Testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Objective-C Unit Testing (From: Seth Willits <email@hidden>)
 >Re: Objective-C Unit Testing (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Objective-C Unit Testing *Solved?*
  • Next by Date: Re: Objective-C Unit Testing
  • Previous by thread: Re: Objective-C Unit Testing
  • Next by thread: Re: Objective-C Unit Testing
  • Index(es):
    • Date
    • Thread