iphonecustom-url

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


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

Is this possible?


Solution

  • 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.