yonaskolb/XcodeGen

Ability to set run options/diagnostics in schemes

Aperta

#325 aperta il 28 giu 2018

 (7 commenti) (11 reazioni) (0 assegnatari)Swift (895 fork)batch import
easyenhancementhelp wanted

Metriche repository

Star
 (8714 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

If this is something currently supported, let me know and I can make it more clear in the docs.

The "run" options in a scheme have several options that are unable to be set via XcodeGen. Namely those in the "Options" and "Diagnostics" tabs:

2018-06-28 at 2 07 pm

2018-06-28 at 2 07 pm

Setting one of these options results in fairly irregular output in the resulting xcscheme file. This example shows what is generated for enabling the thread sanitizer and zombies:

2018-06-28 at 2 04 pm

It would be great to have first-class support for these fields in YAML. i.e.:

run:
  enableThreadSanitizer: true
  commandLineArguments:
    "-set-store": false
   ... etc

Guida contributor