Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 317
Jose Avatar asked Jul 27 '11 14:07

Jose


People also ask

What is URL scheme in iOS?

URL schema is used as an identifier in launching applications and performing a set of commands in iOS devices. The schema name of a URL is the first part of a URL. (e.g. schemaname:// ). For web pages, the schemas are usually http or https.


1 Answers

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.

like image 69
MStudios Avatar answered Sep 22 '22 20:09

MStudios