Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24923

Windows: Unable to create a module with VS2017

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.2.0
    • Fix Version/s: Release 6.2.0
    • Component/s: Tooling, Windows
    • Labels:
      None
    • Environment:

      Windows 10 Pro
      Visual Studio 2017
      Ti SDK: 6.2.0.v20170630062735 (custom build with titanium_mobile_windows#959 vs 2017 support)

    • Sprint:
      2017 Sprint 13 Tooling

      Description

      Description

      When creating a module with VS 2017 installed, it will throw the warning below and never create the cmake projects

      Note: ti cli does not throw an error, but appc cli does

      Appcelerator Command-Line Interface, version 6.2.2
      Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.
       
      MobileWeb platform has been deprecated in 5.4.0 and will be removed in 7.0.0.
      CMake Error: Could not create named generator undefined
      Generators
        Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
                                       Optional [arch] can be "Win64" or "ARM".
        Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
                                       Optional [arch] can be "Win64" or "ARM".
        Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
                                       Optional [arch] can be "Win64" or "ARM".
        Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
                                       Optional [arch] can be "Win64" or "ARM".
        Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
                                       Optional [arch] can be "Win64" or "IA64".
        Visual Studio 9 2008 [arch]  = Generates Visual Studio 2008
      project files.
                                       Optional [arch] can be "Win64" or "IA64".
        Visual Studio 8 2005 [arch]  = Generates Visual Studio 2005 project files.
                                       Optional [arch] can be "Win64".
        Visual Studio 7 .NET 2003    = Deprecated.  Generates Visual Studio .NET
                                       2003 project files.
        Borland Makefiles            = Generates Borland makefiles.
        NMake Makefiles              = Generates NMake makefiles.
        NMake Makefiles JOM
      = Generates JOM makefiles.
        Green Hills MULTI            = Generates Green Hills MULTI files
                                       (experimental, work-in-progress).
        MSYS Makefiles               = Generates MSYS makefiles.
        MinGW Makefiles              = Generates a make file for use with
                                       mingw32-make.
        Unix Makefiles               = Generates standard UNIX makefiles.
        Ninja
      = Generates build.ninja files.
        Watcom WMake                 = Generates Watcom WMake makefiles.
        CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
        CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
        CodeBlocks - NMake Makefiles JOM
                                     = Generates CodeBlocks project files.
        CodeBlocks - Ninja           = Generates CodeBlocks project files.
        CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
        CodeLite - MinGW Makefiles   = Generates CodeLite project files.
        CodeLite - NMake Makefiles   = Generates CodeLite project files.
        CodeLite - Ninja             = Generates CodeLite project files.
        CodeLite - Unix Makefiles    =
      Generates CodeLite project files.
        Sublime Text 2 - MinGW Makefiles
                                     = Generates Sublime Text 2 project files.
        Sublime Text 2 - NMake Makefiles
                                     = Generates Sublime Text 2 project files.
        Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
        Sublime Text 2 - Unix Makefiles
                                     = Generates Sublime Text 2 project files.
        Kate - MinGW Makefiles       = Generates Kate project files.
        Kate - NMake Makefiles       = Generates Kate project files.
        Kate - Ninja                 = Generates Kate
      project files.
        Kate - Unix Makefiles        = Generates Kate project files.
        Eclipse CDT4 - NMake Makefiles
                                     = Generates Eclipse CDT 4.0 project files.
        Eclipse CDT4 - MinGW Makefiles
                                     = Generates Eclipse CDT 4.0 project files.
        Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
        Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
      2017-07-03T13:52:37.845Z | ERROR  | titanium exited with non-zero exit code (1)
      

      Steps to reproduce
      1. appc new -t timodule --name myawesomemodule --id com.foo
      Actual

      CLI will error with the above cmake projects not made

      Expected

      CLI should not error, cmake project should be made

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                eharris Ewan Harris
                Reviewer:
                Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10860
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code