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

Identify iPhone app name from source file in Finder iOS devices
I have over 2,000 iPhone apps now (nearly all of them free) saved on my hard drive, and I decided to offload some of them to secondary storage to free up some of the 8GB of disk space my iTunes folder was taking up. My initial delete process was to highlight an app in the Applications section of iTunes, hit Command-Delete and select Move to Trash from the pop-up dialog to put it in the Trash, then immediately rummage through the Trash to recover the file into a folder that I would later archive.

This works, but I felt I should probably optimize to get rid of the larger unused apps first (some of which are over 100MB on disk). I found that I could select any of the apps and hit Command-R on it to show me the file in Finder. The problem is that I wanted to go the other way -- sort that folder by size, and look at the fattest apps.

And here's where the problem lies ... the filename might be XMAS TREE, but the application in iTunes is Christmas Tree. It turns out that every app has four names: the name in the applications window, the name of the Finder file, the name in the applications scroll box (where you enable those apps you want loaded on the iPhone), and the name of the app once installed on the iPhone. Apparently there aren't any hard guidelines about how closely-related all these names need to be. Some of them are very similar, some of them are extremely different.

But, I stumbled across a slick trick. I found the fattest likely-unused app in the Finder, and then dragged it to the Application entry in the iTunes sidebar. The cursor turns into the green plus sign (like I'm copying the file), but it doesn't actually copy the file when I let go. Instead, something very useful happens: the corresponding app is selected! 2br So my process is now: look for candidate app in Finder, drag it to the iTunes app window, decide if it's an app I want to archive, and if so, Command-Delete, Move to Trash, rummage through trash to move to my backup folder. It's not easy, but then again, I don't think Apple expected anyone to have 2,000 apps.
    •    
  • Currently 1.80 / 5
  You rated: 3 / 5 (10 votes cast)
 
[11,004 views]  

Identify iPhone app name from source file in Finder | 10 comments | Create New Account
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: asmeurer on Sep 03, '09 07:57:05AM

I'd like to see someone write up a script that shows all the Apps that are currently installed along with their sizes. It would help a lot when my iPod fills up with apps to know which ones I could delete to gain the most space back.



[ Reply to This | # ]
Identify iPhone app name from source file in Finder
Authored by: merlyn on Sep 03, '09 11:12:40AM
There's no Applescript way to ask iTunes what's installed. I've found that I can paw through the backups to get at least some of the names of some of the things installed, but it's still hit or miss. Yeah, this is all a mess, and kudos to whomever can reverse engineer enough of this (or can get Apple to forward-engineer enough of it) to make it all work.

[ Reply to This | # ]
Identify iPhone app name from source file in Finder
Authored by: chabig on Sep 03, '09 08:52:18AM

There are two much easier ways to find the apps:

1. Since all apps are stored in the "~/Music/iTunes/Mobile Applications" folder, it a lot easier to just delete them from there?

2. Use Spotlight to search for all files with the ".ipa" extension.



[ Reply to This | # ]
Identify iPhone app name from source file in Finder
Authored by: merlyn on Sep 03, '09 11:10:19AM

As I said, the problem is that everything has 4 names, which may wildly differ. I think Apple is wrong for building a system that permits this, but this is what we're stuck with. I can't tell which app a large file is until I see it as an icon, or even see if I have it installed. Hence, the new strategy, which works nicely.



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

You can also highlight an app in iTunes and choose "Show in Finder" (or cmd-R) from the File Menu or the contextual menu.



[ Reply to This | # ]
Identify iPhone app name from source file in Finder
Authored by: poenn on Sep 03, '09 12:34:49PM

Someone has to say it and I'm surpreised I'm the first: 2000 apps?!?!?! Holy shit! Do you plan on mirroring the App Store? You already have ~1/25 of it... :-)



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

.ipa files are zipped files. Rename the extension to .zip and double-click to expand the contents into a folder. In that folder is an iTunesMetadata.plist file which can be viewed with Property List Editor.

The iTunesMetadata.plist file contains a number of properties, including itemName and playlistName, which along with the filename itself accounts for three of the names, but not the name which appears on the iPhone or iPod Touch's screen.

Using Show Package Contents on the .app file inside the Payload folder doesn't help either, I cannot find the "on-screen" display name anywhere in there either. Does anyone know where that is stored?



[ Reply to This | # ]
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 | # ]
Identify iPhone app name from source file in Finder
Authored by: babaloo on Sep 07, '09 05:55:50AM

If you just want to see an ipa-file in iTunes:
Just double-click it in the Finder and it will be highlighted in iTunes. iTunes will even start up if it issn't running already.



[ Reply to This | # ]