You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/10/18 05:07:41 UTC
[jira] [Commented] (CB-5125) cordova build ios broken
[ https://issues.apache.org/jira/browse/CB-5125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798747#comment-13798747 ]
Carlos Santana commented on CB-5125:
------------------------------------
I think I found the problem.
xcode puts out around 300KB of stdout when running ./platforms/ios/cordova/build
cordova-cli is using child_process.exec()
maxBuffer Number (Default: 200*1024) ~200KB
http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback
child_process.exec() exits with error on maxBuffer
fir is to modify cordova-cli
src/emulate.js
src/run.js
src/compile.js
to increase maxBuffer
child_process.exec(cmd, {maxBuffer:500*1024},function(err, stdout, stderr) {
...
> cordova build ios broken
> ------------------------
>
> Key: CB-5125
> URL: https://issues.apache.org/jira/browse/CB-5125
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.1.0
> Reporter: Carlos Santana
>
> build scripts runs half way and it doesn't finish
> this affects also "cordova emulate ios" which depends on build
> Recreate
> cordova -v
> 3.1.0-0.1.0
> cordova create foo com.foo foo
> cd foo
> cordova platform add ios
> cat "echo build is done" >> ./platforms/ios/cordova/build
> cordova build ios -d
> [xcode output]
> never see the end of build "build is done"
> strange but it works from terminal
> ./platform/ios/cordova/build
--
This message was sent by Atlassian JIRA
(v6.1#6144)