• 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: Can't strip a prefpane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't strip a prefpane


  • Subject: Re: Can't strip a prefpane
  • From: Paul Kim <email@hidden>
  • Date: Tue, 30 May 2006 18:56:13 -0400

Are you trying to reduce the size of the pref pane or just trying to make sure no symbols are exported (and potentially clash)?

If the latter, check out "Prevent Symbol Clashes" and "More Symbol Clash Madness" sections: http://cocoadevcentral.com/articles/000089.php

Basically, you want to prefix your class names and optionally use @compatibility_alias to allow yourself to refer to the class by a shorter (and more sane) name. I had some funniness with this though as it forced me to have headers importing each other which caused other problems though I'm going to try sticking all the @compatibility_alias directives in a common header.

To hide other symbols, you can use __private_extern__.

Hope this helps,
paul



On May 30, 2006, at 8:08 AM, Rosyna wrote:

I cannot seem to strip a preference pane of its symbols. No matter how many times I attempt to strip it, the symbols are still listed as exported in when using nm.

Is there anyway to get rid of prefpane symbols? Oddly, I have absolutely no problem stripping symbols from a normal C/C++ bundle, just prefpanes.
--



Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ 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: 
 >Can't strip a prefpane (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Xcode 2.3 GDB crash when loading plugin
  • Next by Date: Debug Static Library
  • Previous by thread: Xcode 2.3, size reduction with DWARF
  • Next by thread: bfobserver, all of a sudden...
  • Index(es):
    • Date
    • Thread