Skip to content

'cordova build ios' taking over 5 minutes to compile and displaying verbose info in terminal #608

@rolinger

Description

@rolinger

Bug Report

cordova build ios is displaying verbose info even though --verbose is not used. Its like its on by default for iOS.

Problem

Something has to have changed or isn't working as expected. I just upgraded to Cordova 11 and my projects that used to take 30-45 to compile with cordova build ios are now taking 5 to 6 minutes. As well, I am seeing all the verbose info when I am not using the --verbose option which is making me think its specifically the verbose that is causing the slowness. It's like --verbose is on by default on iOS. Granted, I have always seen verbose info when using cordova build ios but its never bothered me as much because my app would usually compile in 30 seconds. But now i am seeing its thousands of useless terminal messages just soaking up buffer and slowing things down as each 5,000 character path call is being written to the terminal.

On my windows machine: cordova build android takes about 10 seconds AND only spits out about 60 lines of terminal messages. So something def keeps going the wrong direction with iOS.

What is expected to happen?

Compile in 30 seconds and not show thousands of lines of terminal messages.

What does actually happen?

Compiles in nearly 6 minutes and show thousands of lines of terminal messages.

Information

Command or Code

cordova build ios

Environment, Platform, Device & version info

Mac: 3.6Ghz quad Core i3, 8Gb memory
MacOS: 13.2.1 Ventura
Xcode 14.2
Cordova@11
Cordova-ios@6.2.0

Checklist

  • [x ] I searched for existing GitHub issues
  • [x ] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions