ionic-team / ionic-team/ionic-cli

ionic wrapper does not honor native cordova flags passed to xcodebuild

Abierto
#4,956 1 comentario 0 reacciones 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
682
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Description:**
Using cordova native, you can send flags to the compiler:

IE: `cordova build ios --buildFlag="-quiet"` - or any flag that xcodebuild can take.

However, with the ionic wrapper, none of those native flags are permitted, greatly reducing interactive control with `xcodebuild`.

This is important for a variety of reasons, one of which is using the `-quiet` flag to cut down on the 10s of thousands of terminal output lines that is just useless noise. `xcodebuild` looks like it defaults to `--verbose`, so you have to manually use `-quiet' to turn it off and only get the relevant warnings/errors (which is still over 1,000s lines of terminal output for iOS).

On Android, its like 60 lines of terminal output.

**Steps to Reproduce:**
`ionic cordova build ios --buildFlag="-quiet"` **vs** ` cordova build ios --buildFlag="-quiet"`

**Output:**

**My `ionic info`:**
Ionic:

Ionic CLI : 6.20.8 (/Users/rpo/.nvm/versions/node/v14.18.1/lib/node_modules/@ionic/cli)
Ionic Framework : ionic1 1.3.4
@ionic/v1-toolkit : 3.2.15

Cordova:

Cordova CLI : 11.1.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 27 other plugins)

Utility:

cordova-res : 0.15.4
native-run : 1.7.1

System:

ios-deploy : 1.12.1
ios-sim : 8.0.2
NodeJS : v14.18.1 (/Users/rpo/.nvm/versions/node/v14.18.1/bin/node)
npm : 6.14.15
OS : macOS Unknown
Xcode : Xcode 14.2 Build version 14C18
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.