xcode - Send command to launch app in iOS device using command line tool -
i have been through stackoverflow , google search's didn't find out proper answer query. want send command launch app in ios device(connected via usb port) using command line tool (from mac system). please don't copy paste link's in comment or in post been through lot of site's. i'm looking forward proper way along understanding if provide.
i have seen ios-deploy, libimobiledevice , explanation not given on how install , use, i.e., test whether it's working or not. if have please provide same bit of explanation.
thanks in advance.
try instruments command line, replace device_udid, xcode_path, app_path, app_name, trace_dir , starting_point variables:
instruments -w device_udid \ -t /applications/xcode_path.app/contents/applications/instruments.app/contents/plugins/automationinstrument.bundle/contents/resources/automation.tracetemplate \ app_path/app_name.app \ -e uiascript starting_point.js \ -e uiaresultspath trace_dir \ -d trace_dir
what have in starting_point.js:
var target = uiatarget.localtarget();
this example launches app on device , app exit. note app needs proper signing.
Comments
Post a Comment