Project: titanium
Issue TIMOB-19811: Windows: Unable to select a Windows 10 mobile emulator in selection prompt
h5.Description When building a project using {{appc run -p windows}}, if selecting a Windows 10 emulator then the prompt will be re-shown without any error being fed back to the user. If building and passing in the emulator ID, such as {{appc run -p windows -T wp-emulator -C 8-1-1}} then the CLI will show the error {{\[ERROR\] Invalid device id Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB: Windows 10 Mobile Emulator is not supported'}} *Notes* If this check is taken out and the a Windows 10 mobile emulator is selected then the build will eventually error out with the below on install {code} [ERROR] The deployment operation failed because the package targets the wrong processor architecture. [ERROR] Error: The deployment operation failed because the package targets the wrong processor architecture. at ChildProcess. (C:\ProgramData\Titanium\mobilesdk\win32\5.1.0.v20151026164636\node_modules\windowslib\lib\emulator.js:287:15) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Process.ChildProcess._handle.onexit (child_process.js:1087:5) {code} h5.Steps to reproduce 1. Ensure you have Windows 10 mobile emulators installed 2. Build a project using {{appc run -p windows}} 3. Select a Windows 10 mobile emulator such as Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB 4. Build a project using {{appc run -p windows -T wp-emulator -C 8-1-1}} h5.Actual result 3. The emulator will not be selected, the prompt will be re-shown and there will be no feedback as to why 4. The build will error with a message similar to {{\[ERROR\] Invalid device id Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB: Windows 10 Mobile Emulator is not supported'}} h5.Expected result Emulators that are not supported should not be shown as an option to build to
Story points: 5