Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19652] Windows: Test if examples work on Windows 10

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionDone
Resolution Date2015-10-23T07:19:17.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sn/a
ComponentsWindows
Labelslook1
ReporterKota Iguchi
AssigneeGary Mathews
Created2015-10-01T00:01:48.000+0000
Updated2017-05-08T01:18:23.000+0000

Description

Make sure Titanium example apps (Movies, ToDoList, RSS reader etc) work on Windows 10 environment.

Comments

  1. Kota Iguchi 2015-10-13

    [~gmathews] I thought Windows 10 mobile is too early to target. [~cwilliams] thoughts? I think we need to target at least: * Windows Phone 8.1 VS 2013 --wp-sdk 8.1 --vs-target 12.0 --target wp-emulator/device * Windows Phone 8.1 VS 2015 --wp-sdk 8.1 --vs-target 14.0 --target wp-emulator/device * Windows Store VS 2013 --vs-target 12.0 --target ws-local * Windows Store VS 2015 --vs-target 14.0 --target ws-local
  2. Gary Mathews 2015-10-23

    Ok, this has taken me a while to put together. This shows what currently works for Windows 10 and what doesn't. *NG Example*
       Compiling for Windows 8.1 - MSVC 12 - WindowsPhone - Win32
       Success - Runs on Windows Phone 8.1 Emulator and Windows Phone 10 Emulator
       
       Compiling for Windows 8.1 - MSVC 12 - WindowsStore - Win32
       Success - Runs on Windows 10
       
       Compiling for Windows 8.1 - MSVC 12 - WindowsPhone - ARM
       Compiles successfuly but fails to deploy to a Windows Phone 10 device
       
       Compiling for Windows 8.1 - MSVC 12 - WindowsStore - ARM
       Compiles successfully, can't test since I don't have a Windows ARM device
       
       Compiling for Windows 8.1 - MSVC 14 - WindowsPhone - Win32
       Success - Runs on Windows Phone 8.1 Emulator and Windows Phone 10 Emulator
       NOTE: Toolchain says v120_wp81 and NOT v140
       
       Compiling for Windows 8.1 - MSVC 14 - WindowsStore - Win32
       NOTE: Updates C++ Library and Compilers, but toolchain still reports v120 (for NG project) - http://puu.sh/kTKq9/97848b7a3c.png
       Success - Runs on Windows 10
       
       Compiling for Windows 8.1 - MSVC 14 - WindowsPhone - ARM
       Failed to compile - DEP6810 : MdilXapCompile.exe failed with error code 2001.	
       
       Compiling for Windows 8.1 - MSVC 14 - WindowsStore - ARM
       Compiles successfully, can't test since I don't have a Windows ARM device
       
       Compiling for Windows 10.0 - MSVC 14 - WindowsPhone - Win32
       Failed - CMake Error: Visual Studio 14 2015 supports Windows Phone '8.0' and '8.1', but not '10.0'. Check CMAKE_SYSTEM_VERSION.
       
       Compiling for Windows 10.0 - MSVC 14 - WindowsStore - Win32
       Failed to compile - LNK2038	mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in JSString.obj
       
       Compiling for Windows 10.0 - MSVC 14 - WindowsPhone - ARM
       Failed - CMake Error: Visual Studio 14 2015 supports Windows Phone '8.0' and '8.1', but not '10.0'. Check CMAKE_SYSTEM_VERSION.
       
       Compiling for Windows 10.0 - MSVC 14 - WindowsStore - ARM
       Failed to compile - LNK2038	mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in JSString.obj
       
       NOTE: I'm using Windows 10. Visual Studio 2015 was used for ALL 'MSVC 14' projects.
       
    I decided not to test the other examples just yet since the errors will be the same for the same configuration. Looking at the errors it seems CMake doesn't support Windows Phone 10 for ARM yet, which is fine since we aren't targeting it. We also need to compile JavaScriptCore using MSVC 14 to target Windows 10.0. Although MSVC 12 and Windows 8.1 Store apps work fine on Windows 10. I also decided to test if Windows 8.1 apps will run on a Windows Phone 10 device. They "do" if they are already on the device OR downloaded from the Windows Store. But I can't deploy any Windows 8.1 apps to the device, I receive an error. I have tried deploying from VS 2013, VS 2015 and [WinAppDeployCmd.exe](https://msdn.microsoft.com/library/windows/apps/xaml/mt203806.aspx) that is provided with the Windows 10 SDK.
  3. Kota Iguchi 2017-05-08

    Closing done "Story" tickets.

JSON Source