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

你。 提交于 2019-11-28 06:05:46

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.

So I went to iTunes on my mac and looked in my App Library for the "APP IN QUESTION".

I then: • Right-Clicked on the "APP IN QUESTION" app and selected “Show in Finder”

• then duplicated the "APP IN QUESTION" .ipa file

• Then I renamed the .ipa file to end in .zip instead (saying, yes make it a .zip if necessary)

• Then I unzipped it to a folder

• I opened the Payload Folder

• I right-clicked the “"APP IN QUESTION".app” and selected “Show Package Contents”

• I opened up the “Info.plist” file in a text editor like the free TextWrangler.app

• I searched for “URL” and found the following:

<key>CFBundleURLTypes</key>
            <array>
                <dict>
                  <key>CFBundleURLSchemes</key>
                  <array>
                       <string>app-in-question</string>
                       <string>sslapp-in-question</string>
                  </array>
               </dict>
            </array>

I was then able to successfully go to Safari and type in: app-in-question:// and sslapp-in-question:// and was prompted if I wanted to launch the App in Question.

Yes, you can just unzip the ipa (this just a zip file), open the < application >.app and look for the info.plist. It should contain any custom app URL schemes, if the app supports it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!