是否有任何命令可以使用终端获取iOS的应用程序包构建版本号?
是否有任何命令可以使用终端获取iOS的应用程序包构建版本号?
在Android中,我可以使用ADB命令获得构建版本,希望知道类似的方法来获得iOS的构建版本号。
对于Android
adb shell dumpsys软件包包| name | GREP版本名称
Is there any command to get app package build version number for iOS using terminal ?
In Android I can get the build version using adb command want to know similar way to get build version number for iOS.
For Android
adb shell dumpsys package package_name | grep versionName
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,没有直接的方法可以实现类似于
adb shell
,但是有两种方法可以建议您尝试:./ ios Apps -udid = your-的 二进制文件device-udid
bundledentifier
以及该JSON对象的内部找到应用程序的对象,您可以找到cfbundleshortversionstring
和cfbundleversion
fastlane运行get_ipa_info_plist_value
As far as I know there is no straightforward way to achieve this similar to
adb shell
but there are two ways I can suggest you try out:./ios apps --udid=YOUR-DEVICE-UDID
bundleIdentifier
and inside that JSON object you can findCFBundleShortVersionString
andCFBundleVersion
fastlane run get_ipa_info_plist_value
CFBundleShortVersionString
orCFBundleVersion