Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Identify iPhone app name from source file in Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Identify iPhone app name from source file in Finder
Authored by: alextm on Sep 03, '09 07:43:32PM
#! /bin/sh
unzip -p "$1" "Payload/*/Info.plist" | plutil -convert xml1 -o - -- - | grep -A 1 CFBundleDisplayName | grep '<string>' | sed s/"	<string>"/""/ | sed s/"<\/string>"/""/ 
try this
save as script, make executable
call as
$ <name of script> <path to ipa>


[ Reply to This | # ]
Identify iPhone app name from source file in Finder
Authored by: chyna4xena on Sep 03, '09 08:46:10PM

I meant to say that I found that string (CFBundleDisplayName property) inside the Info.plist file inside the (application).app package, but I didn't think that was correct because it was too long in many of the apps I tested. Then I checked and realised that the iPhone OS shortens the name (with an ellipsis in the middle) to fit. D'oh.

Thanks, alextm, that is the location of the fourth name!



[ Reply to This | # ]