ios-automation-helper
v1.0.4
Published
This project is used to get iOS mobile / simulator info and app info
Downloads
4
Readme
iOS Automation Helper
Prerequisite
- Install xCode 9.0 or later
- Download required simulators
Install
Using npm:
npm i ios-automation-helper
Using Node.js:
var iosCmd = require('ios-automation-helper');
or
import iosCmd from 'ios-automation-helper';
Usage
- To get Device UDID
- A promise based function and resolves to a device udid
iosCmd.getUDID('iPhone 6s', '11.4').then(result => {
});
- To get App Bundle ID
- A promise based function which resolve the app bundle id
ioskdownCmd.getBundleId(<appPath>).then(bundleId => {
});
Notes
- If you are using .ipa file, pls follow below steps to get BundleId.
- Right click and Open with Archive Utility
- You can see .app file inside Payload folder.