Finding App Id under .ipa or .app

Rafael Oliveira picture Rafael Oliveira · Apr 29, 2010 · Viewed 18.4k times · Source

I'm building an application that search and recognizes any iPhone apps that user has in his/her computer. I would like to know a way to "extract" the id of the application from the .ipa file.

I was trying to do the recognition using only the App File Name, but I discovered that the File Name is not the name of the app in Apple Store. Live Poker 6K Free by Zynga != Live Poker 3.7.ipa

The id i'm talking about is the app id, like in, http://itunes.apple.com/app/live-poker-6k-free-by-zynga/id354901953?mt=8 the id is 354901953.

Does any body has a clue how can I manage to find this information?

Answer

kennytm picture kennytm · Apr 29, 2010

An IPA is just a ZIP archive. When you unzip it you'll find an iTunesMetadata.plist or Info.plist which should contain all info you need.