[ 
https://issues.apache.org/jira/browse/CB-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641247#comment-13641247
 ] 

Michael Brooks commented on CB-3227:
------------------------------------

Commit 
[7a2e85|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=7a2e859b7957856cfb60c82b56be24e03a5048a8]

npm was ignoring the {{build}} script during the package and publish process. 
This is because npm respects {{.gitignore}} files along with {{.npmignore}}.

To fix this problem, I removed the platform {{.gitignore}} files and added 
these files to the {{cordova-cli/.gitignore}}.
                
> "cordova build ios" fails on 2.7.0-rc.1
> ---------------------------------------
>
>                 Key: CB-3227
>                 URL: https://issues.apache.org/jira/browse/CB-3227
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.7.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova build ios}}:
> {code}
> [Error: An error occurred while building the ios project. /bin/sh: 
> /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/ios/cordova/build:
>  No such file or directory
> ]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to