ionic-team / ionic-team/ionic-cli

ionic wrapper does not honor native cordova flags passed to xcodebuild

Đang mở
#4,956 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.