Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add static analysis features to Kin #28

Open
Serchinastico opened this issue Feb 1, 2017 · 2 comments
Open

Add static analysis features to Kin #28

Serchinastico opened this issue Feb 1, 2017 · 2 comments

Comments

@Serchinastico
Copy link
Owner

There are a lot of problems in pbxproj files and most of them are always the same!
We could handle the most common ones with Kin by using the parser ANTLR creates for us.

Some of the issues we could deal with are:

  • NULL references [Remove them]
  • Unknown UUIDs referenced from groups [Remove them]
  • UUIDs of files that don't appear in any group [Remove them]
  • Duplicated UUIDs [Ask the user which one should we pick or try merging them]

We can create separated issues in github when we start developing them.

@pedrovgs
Copy link
Contributor

pedrovgs commented Feb 1, 2017

Just for the last point. Is this tool useful for picking different UUIDs when they are duplicated?

@Serchinastico
Copy link
Owner Author

After reading the documentation of mergepbx a couple times I think it's pretty much what we are looking for but I think we won't be able to use it, the project has a very basic grammar to describe pbxproj files (dictionaries and such) while Kin knows a lot more of the format (names of each field, order and so). We can take some ideas from it though so yeah, good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants