Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
490 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 Reply

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...