[TIMOB-23253] Windows: Build errors when building to device and selecting second option in device prompt
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-27T20:36:20.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.3.0, windowslib 0.4.9, windowslib 0.4.10 |
Components | Windows |
Labels | qe-5.3.0 |
Reporter | Ewan Harris |
Assignee | Christopher Williams |
Created | 2016-04-20T21:40:50.000+0000 |
Updated | 2016-05-12T22:27:42.000+0000 |
Description
Description
When building to wp-device and selecting the second option in the prompt, the build will fail with \[ERROR] Unable to find an Windows Phone device with the UDID "undefined"
. Although this second option is more user friendly as it contains information about the device being built to, rather than just Device
,we should not present the option if it will fail the build
*To workaround this issue just select the first option*
Steps to reproduce
Build a project using appc run -p windows -T wp-device
and select option 2
Actual result
The build will fail with \[ERROR] Unable to find an Windows Phone device with the UDID "undefined"
Expected result
The build should not fail, we should no present the second option if it will fail the build
Comments
JSON Source
[~eharris] Do you have the output for the options and from
ti info -o json
to take a look? It'd be good to see what we're offering the user as a valid value and what the model of the device looks like in our ti info model.The relevant section of the info for me:
[~cwilliams] here you go, pretty much matches your output
Verified using: Windows 10 Pro Visual Studio 2015 Community Update 2 Appc Core: 5.3.0-43 Appc NPM: 4.2.5-5 Ti SDK: 5.3.0.v20160512105713 When building to a Windows device there is no longer a duplicate entry for the device and the process no longer prompts to select a device, the process is successful for both 8.1 and 10.0 phones. Filed TIMOB-23371 to improve handling of multiple devices. Closing ticket