Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24366] Windows: When using a windows device which is lower than Minimum Version target the error shown is not clear.

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2020-04-07T14:14:06.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterSamir Mohammed
AssigneeSamir Mohammed
Created2017-02-02T00:11:24.000+0000
Updated2020-04-07T14:14:06.000+0000

Description

When a target version and minimum version target have been set for a Windows application (Windows 10) and the user uses a device below the minimum target version e.g. a 8.1 device; the error shown in the console is not clear. If the correct device is used everything seems to run fine without any crashes. *Steps to reproduce* 1. Create a new application 2. Add the following to the tiapp.xml
<windows>
        <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion>
        <TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
    </windows>
3. Go to the project directory and use the following commands
appc run -p windows -T wp-device -S 10.0.10586.0
appc run -p windows -T wp-device
*Result* For the first command you should get the following error
[ERROR] There is an error in XML document (2, 2).
And for the second command the following error is shown (Also occurs in studio)
[INFO] :   -- Configuring incomplete, errors occurred!
See also "C:/Users/WinTester/.titanium/vsbuild/generalTestv2/phone.ARM/CMakeFiles/CMakeOutput.log".
  Visual Studio 14 2015 ARM supports Windows Phone '8.0' and '8.1', but not
  '10.0.14393.0'.  Check CMAKE_SYSTEM_VERSION.
I think it would be better if more useful errors are shown instead.

Comments

  1. Kota Iguchi 2019-06-04

    https://github.com/appcelerator/titanium_mobile_windows/pull/1398
  2. Samir Mohammed 2020-04-07

    Closing ticket as windows is no longer supported as of 9_0_X.

JSON Source