Releases: NativeScript/ios-sim-portable
Releases · NativeScript/ios-sim-portable
v4.0.8
Fixed
- stopApplication may be resolved before actually stopping the app
v4.0.7
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 exampleappgrep
v4.0.6
Fixed
- Application hangs when trying to kill it with
xcrun simctl terminate
in some cases. Usekill -9
instead.
v4.0.5
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
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
Fixed
xcrun simctl install
operation fails every other time
v4.0.2
Fixed
- Unhandled exception is thrown when
xcrun simctl
is not available.
Async api
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
Fixed
- Detecting iOS Simulators takes 15 seconds when no simulators are attached.
v3.4.3
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.