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

Windows: Unable to build to an 8.1 emulator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Component/s: Windows
    • Environment:

      Windows 10 Pro
      Appc core: 6.0.0-31
      Appc NPM: 4.2.8-5
      Ti SDK: 6.0.0.v20160823163945
      Windows Phone 8.1 Emulators

    • Story Points:
      5
    • Sprint:
      2016 Sprint 17 SDK

      Description

      Description

      This is a regression from 5.4.0.GA

      When building to a Windows Phone 8.1 emulator the following happens.

      • An Windows 10 Mobile emulator is launched
      • The build fails with the below, probably because the emulator is a Windows 10 Mobile emulator

      [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.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\5.5.0.v20160822000355\node_modules\windowslib\lib\wptool.js:769:10)
          at emitTwo (events.js:87:13)
          at ChildProcess.emit (events.js:172:7)
          at maybeClose (internal/child_process.js:827:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
      

      Notes

      When using 5.5.0 and 6.0.0 the device-id for the emulator launched is 8-1-1, in 5.4.0.GA it is 8-1-13. In previous SDKs (and 5.4.0.GA), 8-1-1 was a Windows 10 Mobile emulator which was removed from ti info output and emulator selection prompts TIMOB-19811, which explains why when selecting that option launches a Windows 10 emulator. I believe this change is the reason for the error outlined above

      Steps to reproduce
      1. Install either the latest 5_5_X or 6_0_X SDK. appc ti sdk install -b 5_5_X -d or appc ti sdk install -b 6_0_X -d
      2. Ensure that the installed SDK above is your selected SDK appc ti sdk select <sdk_version> and also the SDK in your tiapp.xml
      3. Build an application using appc run -p windows -T wp-emulator
      4. Select an 8.1 emulator in the prompt
      Actual result

      A Windows 10 Mobile emulator will be launched and the build process will fail with the above error

      Expected result

      A Windows Phone 8.1 emulator will be launched, build process should not fails

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              eharris Ewan Harris
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code