yonaskolb / yonaskolb/XcodeGen

Validate Legacy target

Open
#512 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Related to https://github.com/yonaskolb/XcodeGen/issues/425 it looks like legacy targets crash Xcode again.

Using this project spec:

name: Foo
targets:
  Legacy:
    platform: iOS
    type: ""
    legacy:
      toolPath: /usr/bin/true

With XcodeGen master 65cc5f45d8d14e29a2d658e405df734f3bddadf2 Xcode crashes on launch

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

Start by reproducing the crash with the supplied YAML project spec and the referenced XcodeGen master revision. Trace the legacy-target validation or generation path, then verify the resulting behavior by opening the generated project in Xcode and confirming it no longer crashes.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.