• 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
Script to clean up NIBs for deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script to clean up NIBs for deployment


  • Subject: Script to clean up NIBs for deployment
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 10 Nov 2007 20:58:12 -0600

The new NIB 3.x format will grow your nibs quite a bit. In one of my apps, an extra 4.4 MB was added. I use the following script in a Run Script phase (using a shell of /bin/sh):

find "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Resources" \( - name designable.nib \) -type f -delete
find "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Contents/Resources" \( - name data.dependency \) -type f -delete


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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


  • Prev by Date: Re: gdb not breaking on break statements
  • Next by Date: Re: MainMenu.Nib doesn't open anymore in Xcode 3.0
  • Previous by thread: Re: MainMenu.Nib doesn't open anymore in Xcode 3.0
  • Next by thread: Re: Script to clean up NIBs for deployment
  • Index(es):
    • Date
    • Thread