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
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 find CFBundleShortVersionString
and CFBundleVersion
fastlane run get_ipa_info_plist_value
CFBundleShortVersionString
or CFBundleVersion