Skip to content

Instantly share code, notes, and snippets.

@cemerson
Last active December 23, 2015 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cemerson/6670382 to your computer and use it in GitHub Desktop.
Save cemerson/6670382 to your computer and use it in GitHub Desktop.
CORDOVA-IOS: Remove other-device Icon/Splash images from build (Run Build Script)
#since NONE of the files/folders in /www/res/ are needed in the compiled IOS app just delete the root one: "res"??
find "$TARGET_BUILD_DIR" -name 'res' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'android' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'blackberry' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'windows-phone' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'tizen' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'bada-wac' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'bada' -print0 | xargs -0 rm -R
# find "$TARGET_BUILD_DIR" -name 'webos' -print0 | xargs -0 rm -R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment