Script to clean up NIBs for deployment
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