Strip symbols from framework (dumb?)
Strip symbols from framework (dumb?)
- Subject: Strip symbols from framework (dumb?)
- From: Jerry Krinock <email@hidden>
- Date: Tue, 8 May 2007 17:15:32 -0700
I have a Cocoa project that uses a private framework of mine,
packaged into the app bundle.
In both the app target and the framework target settings, I switch ON
Dead Code Stripping,
Deployment Postprocessing,
Strip Linked Product,
Strip Debug Symbols During Copy;
and also Strip Style: All symbols
This has the intended effect on the app symbols: When I run the unix
'nm' command on the product executable, I don't see any of my
internal symbols, although I do see Cocoa framework symbols, system
function symbols, and my framework's symbols. When I run 'nm' on the
framework, though, I see all the framework symbols. Finally, when I
"sample" the running app, I see hex addresses instead of my app's
internal symbols, but my framework's symbols are all visible.
Now, please excuse me if this is really dumb, because I'm only an
electrical engineer, but I started thinking...
Is it possible to strip symbols from a framework?
(Doesn't the system need symbols to find the addresses at runtime?)
Is there any way to build a project such as mine so that framework
symbols are hidden?
Thanks,
Jerry Krinock
_______________________________________________
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