How can I extract the Custom URL Scheme from a .ipa file?

Jose picture Jose · Jul 27, 2011 · Viewed 13.5k times · Source

I am trying to determine how to extract or get programmatically the Custom URL Scheme from a application .ipa file.

Is this possible?

Answer

MStudios picture MStudios · Jul 27, 2011

Yes, this is possible. First, unzip the .ipa file. (you can rename it with .zip to do this). Then, inside the .ipa file, you will find there is a Info.plist file. You can parse that file, look for "CFBundleURLSchemes" and you will see first the app id followed by the Custom URL if one is defined for the app.