【问题标题】:Running deep links / universal links on an iOS device在 iOS 设备上运行深度链接/通用链接
【发布时间】:2023-01-28 02:45:11
【问题描述】:

我可以访问类似

xcrun simctl openurl booted "http://my_url"

或者

adb shell am start -a android.intent.action.VIEW \
    -c android.intent.category.BROWSABLE \
    -d "http://my_url" com.myApp

在模拟器/模拟器中。

有什么方法可以将 xcrun 的深层链接发送到通过 USB 连接的真实设备吗?

【问题讨论】:

    标签: deep-linking ios-universal-links xcrun xcode-command-line-tools


    【解决方案1】:

    要使用 idevicedebug 命令在 iOS 设备上打开深层链接,您需要在您的计算机上安装 libimobiledevice 库,将 iOS 设备连接到您的计算机,并在该设备上安装您的应用程序。然后你可以使用命令idevicedebug -u {bundleId} run {deepLink}打开带有深层链接的应用程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-09-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-17
      • 1970-01-01
      • 2019-12-08
      • 2014-09-04
      相关资源
      最近更新 更多