【发布时间】:2020-10-15 14:26:39
【问题描述】:
是否有命令可以获取安装在模拟器中的应用程序版本,我正在寻找任何 xcode 命令或任何其他可以获取应用程序版本的命令
【问题讨论】:
标签: swift xcode appium appium-ios xcrun
是否有命令可以获取安装在模拟器中的应用程序版本,我正在寻找任何 xcode 命令或任何其他可以获取应用程序版本的命令
【问题讨论】:
标签: swift xcode appium appium-ios xcrun
让我们试试:
defaults read $(xcrun simctl get_app_container booted your.app.bundle.identifier)/Info CFBundleVersion
【讨论】:
defaults read "$(xcrun simctl get_app_container booted your.app.bundle.identifier)"/Info