[TIMOB-24227] iOS: New simulator is launched for subsequent builds to same sim
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-12-15T18:54:51.000+0000 |
Affected Version/s | Release 6.0.1 |
Fix Version/s | Release 6.0.1 |
Components | iOS, Tooling |
Labels | qe-6.0.1 |
Reporter | Eric Wieber |
Assignee | Chris Barber |
Created | 2016-12-14T20:01:24.000+0000 |
Updated | 2016-12-15T19:29:22.000+0000 |
Description
When building multiple times, for the same simulator target, a new simulator is launched instead of reusing the already open simulator
*Steps to reproduce issue*
1. Create a new Project
2. CD into the project folder
3. Run:
appc run -p ios
4. After the app is launched on the sim, kill the process with ctrl + c
5. Run appc run -p ios
*Expected Results*
The app is launched on the existing sim
*Actual Results*
A new simulator, identical to the first, is launched and the app runs there. The first sim becomes unresponsive.
*Notes*
I do not encounter this when using the 6.0.0.GA stack with Xcode 7.3
ioslib v1.1.1 PR: https://github.com/appcelerator/ioslib/pull/52 Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8692 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8693
Verified fixed, using: MacOS 10.12 (16A323) Studio 4.8.0.201611121409 Ti SDK 6.0.1.v20161215105512 Appc NPM 4.2.9-1 Appc CLI 6.1.0 Alloy 1.9.5 Xcode 8.2 (8C38) Launching projects multiple times, from CLI or Studio, will either reuse the same simulator or close and open a new simulator, if the target is different. Tested by launching the same app multiple times for the same and different simulators, then launching different apps on the same and different simulators, from Studio and the CLI.