Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10714

Case Sensitive Archs fails the windows build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-windows
    • None

    Description

      Using Cordova 5.4.1 and cordova-windows@5.3.1, Attempting to build for "ARM" successfully compiles an appx but fails in the post-compile steps, due to a string comparison on the arch variable.

      cordova compile windows --release --archs ARM -- --verbose
      

      Running command: cmd "/s /c "...\platf
      orms\windows\cordova\build.bat --release --archs=ARM --verbose""
      Searching for available MSBuild versions...
      Found MSBuild v14.0 at C:\Program Files (x86)\MSBuild\14.0\bin\
      Found MSBuild v12.0 at C:\Program Files (x86)\MSBuild\12.0\bin\
      Found MSBuild v4.0 at C:\Windows\Microsoft.NET\Framework\v4.0.30319\
      Building project: ...\platforms\window
      s\CordovaApp.Windows10.jsproj
      Configuration : release
      Platform : ARM
      CordovaApp.Windows10 -> ...\platfor
      ms\windows\AppPackages\CordovaApp.Windows10_1.4.0.0_ARM_Test\CordovaApp.Windows10_1.4.0.0_ARM.appx
      undefined
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
      Error: cmd: Command failed with exit code 1
      at ChildProcess.whenDone (...\node_modules\cordova\node_modules\cordova-lib\src\cordova\super
      spawn.js:134:23)
      at emitTwo (events.js:87:13)
      at ChildProcess.emit (events.js:172:7)
      at maybeClose (internal/child_process.js:821:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

      Building for "arm" succeeds.

      cordova compile windows --release --archs arm -- --verbose
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jnmoore Jerroyd Moore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: