Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
491 views
in Technique[技术] by (71.8m points)

ios - URL Schemes to personal apps

Is there a way to use URL schemes to open another app (not a common one like maps), without having access to the source code of that app? I'm working for a company that has several apps, and they've tasked me to build another app that will concatenate all of their other apps. If I really need to, I can email my boss and ask about setting up the codes.

If it helps, I'm using XCode 7.3.1, in Swift 2.

By the way, I checked for similar questions, but couldn't find any. If you do find one, send a comment with the link and I'll delete this question if the answers the the other question help.

Thanks in advance!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Download the application onto your device (sync to iTunes to get the IPA) or to iTunes. Right click and choose show in explorer or finder.

Now you have the IPA. Change the extension to .zip and unzip it. Open the payload folder.

Go into the application's folder (Right-Click Show Package Contents on OSX).

Open "Info.plist" and look for: URL Types key. One of the sub-keys in there will open the application.

Update:

  • Download the app on any iOS device.
  • Plug it into the computer.
  • Download Apple Configurator 2 from the Mac Appstore.

Next open apple configurator and right click on your iOS device and press "Add".. then find the app you want to download. Once you find it, double click it and it will tell you that the app is already installed. DO NOT click any of the options on the popup.

Open a terminal and type:

cd ~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/

Then type: open . to open the directory.. You should now see the .ipa file..


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...