Skip to content

Pass correct args to ios-sim-portable's stopApplication #2778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2017

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented May 4, 2017

When Xcode 8 or later is installed, ios-sim-portable will spawn xcrun simctl terminate <device id> <app id> in order to stop the application.
For earlier version the command for stopping the app is killall <app name>. So pass correct args to the method.

NOTE: Merge only after the ios-sim-portable version is bumped (i.e. after merging NativeScript/ios-sim-portable#90).

NOTE2: Merge after telerik/mobile-cli-lib#953

Fixes NativeScript/ios-jsc#761
and
#2732

When Xcode 8 or later is installed, ios-sim-portable will spawn `xcrun simctl terminate <device id> <app id>` in order to stop the application.
For earlier version the command for stopping the app is `killall <app name>`. So pass correct args to the method.
Update ios-sim-portable, where the change is implemented.
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/fix-stop-start-sim-app branch from cbdcaca to cf3e10a Compare May 9, 2017 06:08
@rosen-vladimirov rosen-vladimirov merged commit 45cef41 into release May 9, 2017
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-stop-start-sim-app branch May 9, 2017 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants