Build Settings for Release: App/Library is bloated
Build Settings for Release: App/Library is bloated
- Subject: Build Settings for Release: App/Library is bloated
- From: Miles <email@hidden>
- Date: Sun, 12 Apr 2009 12:11:19 -0700
My .app file and library file have both quickly grown to be 13MB in disk
size and I'm having a hard time figuring out why. I've been reading about
build settings and anything else I can get my hands on but I can't seem to
make significant improvements. I don't know a ton about what happens in the
compiling process so I'm looking for some guidance in hopes I can get this
smaller.
I have pulled out some code and put it into a static library and I'll use
that as my example. It is 26 classes each containing the dictionary words
for one alphabet letter. They are just large arrays containing words, and
that's it. No dependencies, no linked libraries. The library has only the .m
files, and no header files. The disk size of all those files combined is
3.2MB. When I compile the library it becomes 13MB+.
*Here are some of my build settings:*
- Compile for Thumb: unchecked
- Deployment Postprocessing: checked
- Strip Debug Symbols During Copy: checked
- Strip Style: Non-Global Symbols
- Use Separate Strip: checked
- Dead Code Stripping: checked
- Don't Dead-Strip Inits and Terms: checked
- Generate Debug Symbols: unchecked
I'm having similar issues in the application itself, but I'm currently
working on the static library so those are the numbers I have handy. Does
that add up? Is there something else I'm missing? 12MB seems pretty
ridiculous for this.
Thanks in advance for any advice.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden