For automation of iOS app in appium/Java purpose, I need to get device name, UDID, bundle ID, platform version from terminal or from some script\s so that I don't have to hardcode these values in my tests. Main reason I wanted to do this is because we have lots of real devices and don't want to manage all those properties instead i want to get all those properties before my tests starts. Can somebody help me?
I found idevice_id -l
which can get me UDID. I want kind of similar or more efficient approach. Any suggestion much appreciated.