yonaskolb / yonaskolb/XcodeGen

Ability to set run options/diagnostics in schemes

Open
#325 7 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

easy enhancement help wanted
Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies YAML run settings and generated xcscheme output, but names no source file or test. Start by tracing XcodeGen's scheme-generation entry point and compare the Options and Diagnostics fields in the generated xcscheme; done means the requested run settings have explicit YAML support and produce stable scheme output.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, yaml
Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.