• 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
Build Settings for Release: App/Library is bloated
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Build Settings for Release: App/Library is bloated
      • From: Kyle Sluder <email@hidden>
    • Re: Build Settings for Release: App/Library is bloated
      • From: Dave Keck <email@hidden>
    • Re: Build Settings for Release: App/Library is bloated
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: @selector not working with (id)anObject
  • Next by Date: Re: stopping an application
  • Previous by thread: Re: stopping an application
  • Next by thread: Re: Build Settings for Release: App/Library is bloated
  • Index(es):
    • Date
    • Thread