yonaskolb/XcodeGen

Ability to set run options/diagnostics in schemes

Open

#325 opened on Jun 28, 2018

View on GitHub
 (7 comments) (11 reactions) (0 assignees)Swift (8,431 stars) (881 forks)batch import
easyenhancementhelp wanted

Description

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

Contributor guide