Skip to content

Instantly share code, notes, and snippets.

View devmanuj's full-sized avatar

Manuj devmanuj

View GitHub Profile
@devmanuj
devmanuj / gist:5926753
Last active December 19, 2015 08:38
Script for extracting optimised images from an ipa file using Xcode utility PNGCRUSH.
Running this script requires that you rename the exptension of ipa to zip and then move images in payload folder to a common folder in which this ExtractedImages.sh exists. Run this script it should find all the images and extract it in RevertedImages folder.
#!/bin/bash
#create a folder to put reverted images in
mkdir RevertedImages
#looping for png files in . or $1 parameter
for png in `find . -name '*.png'`
@devmanuj
devmanuj / PodFile Eg, with Tests Targets configured
Created June 25, 2013 06:41
PodFile Eg, with Tests Targets configured. This will configure your test targets for pods. Logic unit tests and application test targets should be configured separately. [As pods involving UIKit should only be used in application unit tests.]
Pod file:
platform :ios, "5.0"
pod "AFIncrementalStore"
pod "Toast"
pod "BlockAlertsAnd-ActionSheets"
pod "Facebook-iOS-SDK"
pod "SVProgressHUD"
target :LogicUnitTests, :exclusive => true do