Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bloated binaries (still)



On Aug 27, 2004, at 12:17 PM, David Catmull wrote:

I posted about this problem a few weeks ago, but never quite found a solution. I'm about to post a new release of the product, so I'm trying again.

I have an application with a couple of plugins, all built with the same project. While the host app is about 20k, the plugins' executable files are bloated to several megabytes, apparently due to the presence of debugging information. They ought to be no bigger than the host app. I scoured the target settings of the app and the plugins but found nothing that seemed to account for the difference. Even switching to the Deployment build style doesn't solve the problem. Can anyone offer a suggestion on this? This is with XCode 1.5.

Have you tried doing an install build? Doing this puts things fully through the build process to generate output that is ready to distribute to users (strips stuff as needed, etc. unless you have changed settings to not do that).


You do this from the command line.. man xcodebuild

I usually use a script to do a build such as this as well as the packaging of the product for distribution. I work and code in Xcode building as need for testing/debugging but use the script to generate ready to distribute products in one shot.

-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Bloated binaries (still) (From: David Catmull <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.