You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/08/18 22:33:46 UTC

[jira] [Created] (CB-9512) Cordova-ios build/run should fail on Windows with a more meaningful message

Sergey Shakhnazarov created CB-9512:
---------------------------------------

             Summary: Cordova-ios build/run should fail on Windows with a more meaningful message
                 Key: CB-9512
                 URL: https://issues.apache.org/jira/browse/CB-9512
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
         Environment: Windows
            Reporter: Sergey Shakhnazarov
            Assignee: Sergey Shakhnazarov


1. cordova create test
2. cordova platform add ios
3. cordova platform add windows
4. On  windows machine: cordova build:

{code}
Running command: cmd "/s /c "d:\apps\rel_test\platforms\ios\cordova\build""
'd:\apps\rel_test\platforms\ios\cordova\build' is not recognized as an internal or external command,
operable program or batch file.
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 (D:\cordova\cordova-lib\cordova-lib\src\cordova\superspawn.js:139:23)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1008:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
{code}

We should consider making this just log an error message on the lines that building iOS on windows is not supported and continue building other platforms that are supported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org