Skip to content

Releases: NativeScript/ios-sim-portable

v4.0.8

17 Jan 06:25
f347e0a
Compare
Choose a tag to compare

Fixed

  • stopApplication may be resolved before actually stopping the app

v4.0.7

16 Jan 07:53
d737eb6
Compare
Choose a tag to compare

Fixed

  • Unable to install the package with yarn when Node.js 11 is used.
  • Killing the application may lead to kill of CLI process in some cases
  • Unable to stop application with grep in the name, for example appgrep

v4.0.6

04 Jan 11:37
5ae0031
Compare
Choose a tag to compare

Fixed

  • Application hangs when trying to kill it with xcrun simctl terminate in some cases. Use kill -9 instead.

v4.0.5

09 Oct 16:32
Compare
Choose a tag to compare

Fixed

  • Unable to LiveSync applications on iOS 10 and lower simulators.
  • get_app_container returns non-existent path when application is not installed.

v4.0.4

08 Oct 06:57
87dac2f
Compare
Choose a tag to compare

Fixed

  • Log process is not started immediately on getDeviceLogProcess, so in some cases the tns debug ios ... command does not work as we are not able to get the debug port from the logs.

v4.0.3

02 Oct 09:33
3720dcd
Compare
Choose a tag to compare

Fixed

  • xcrun simctl install operation fails every other time

v4.0.2

25 Jul 13:32
Compare
Choose a tag to compare

Fixed

  • Unhandled exception is thrown when xcrun simctl is not available.

Async api

29 Jun 11:16
2b0362b
Compare
Choose a tag to compare

Breaking changes:

All public methods are async and return promises.

  • old API:
installApplication(deviceId: string, applicationPath: string): void;
uninstallApplication(deviceId: string, appIdentifier: string): void;
startApplication(deviceId: string, appIdentifier: string, options: IOptions): string;	
stopApplication(deviceId: string, appIdentifier: string, bundleExecutable: string): string;
run(applicationPath: string, applicationIdentifier: string, options: IOptions): string;
getDeviceLogProcess(deviceId: string): any;
startSimulator(options: IOptions, device?: IDevice): void;
getDevices(): IDevice[];
sendNotification(notification: string, deviceId: string): void;
  • new API:
installApplication(deviceId: string, applicationPath: string): Promise<void>;
uninstallApplication(deviceId: string, appIdentifier: string): Promise<void>;
startApplication(deviceId: string, appIdentifier: string, options: IOptions): Promise<string>;
stopApplication(deviceId: string, appIdentifier: string, bundleExecutable: string): Promise<string>;
run(applicationPath: string, applicationIdentifier: string, options: IOptions): Promise<string>;
getDeviceLogProcess(deviceId: string): Promise<any>;
startSimulator(options: IOptions, device?: IDevice): Promise<void>;
getDevices(): Promise<IDevice[]>;
sendNotification(notification: string, deviceId: string): Promise<void>;

v3.4.4

30 May 16:34
b106265
Compare
Choose a tag to compare

Fixed

  • Detecting iOS Simulators takes 15 seconds when no simulators are attached.

v3.4.3

25 May 08:03
56e3abb
Compare
Choose a tag to compare

Fixed

  • Unable to run application on a specific simulator when simulator id is passed.
  • Do not kill all simulators on launch request - we do not need such logic anymore as we can run multiple simulators.