yonaskolb / yonaskolb/XcodeGen

Create a project.yml file from an existing project file [feature request]

Open
#882 1 comment 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

Have you considered creating a command line tool that would parse an existing project.pbxproj file and generate a project.yml file. This would greatly increase the popularity and use of XcodeGen.

I've twice been on teams with existing projects where we have considered using XcodeGen, only to give up because the initial creation of the project.yml file was too complex. If we could generate a project.yml file that got us even 80% of the way to having what we need to be able to generate our existing project file, we likely would have adopted this tool.

It would be useful beyond onboarding as well. Existing users, who may know how to edit there project, but not know how to execute the same task via the project.yml file could simply make the change in Xcode, re-run the project.yml file generator and view the diff to learn how to make the same change using XcodeGen.

Thanks for considering it.

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 reviewing XcodeGen's existing command-line interface and how it represents project.pbxproj and project.yml inputs. Determine the scope of parsing and conversion needed, then define what output can be generated reliably and how it will be validated against an existing project.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, yaml
Domain
build-system, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.