• 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: Categories in static lib not loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Categories in static lib not loading


  • Subject: Re: Categories in static lib not loading
  • From: Sailesh <email@hidden>
  • Date: Fri, 18 Apr 2003 16:25:37 -0400

I've been having the same problem too:
http://cocoa.mamasam.com/COCOADEV/2003/04/1/60505.php

On Friday, Apr 18, 2003, at 14:24 Canada/Eastern, Sean Gies wrote:

I'm having trouble using categories defined in a static library. The linker
appears to optimize them out.

If I define a dummy function in the same .m file as the category and call it
from my app, the category works fine. Otherwise, I get a 'selector not
recognized' exception at runtime when I use the category.

Am I missing some special compiler or linker flag?

Thanks,
-Sean
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Categories in static lib not loading (From: Sean Gies <email@hidden>)

  • Prev by Date: Distributed Objects In A Network of Macs
  • Next by Date: Re: Distributed Objects In A Network of Macs
  • Previous by thread: Categories in static lib not loading
  • Next by thread: Distributed Objects In A Network of Macs
  • Index(es):
    • Date
    • Thread