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

Parse project results mismatched input 'preferredProjectObjectVersion' #120

Open
srabiller opened this issue Nov 22, 2024 · 4 comments
Open

Comments

@srabiller
Copy link

srabiller commented Nov 22, 2024

On my project when I update the project format from Xcode 14.0 to Xcode 16.0 kin reach this error
❯ kin ERROR: line 1672:3 mismatched input 'preferredProjectObjectVersion' expecting {'productRefGroup', 'projectDirPath'}

and for other developer on my project kin reach 2 errors
ERROR: line 1654:3 mismatched input 'developmentRegion' expecting 'compatibilityVersion' ERROR: line 1672:3 mismatched input 'preferredProjectObjectVersion' expecting {'productRefGroup', 'projectDirPath'}

the modifications are the following
Xcode
diff

If I rollback the project format to Xcode 14.0
❯ kin CORRECT

I'm on Xcode 16.1 [email protected] and kin 2.1.3

Thanks for your support

@Serchinastico
Copy link
Owner

Thanks for the report @srabiller ! I believe I get an idea of the error by looking at your screen captures. I'll try to fix it this week and will let you know when the new version is published.

@Serchinastico
Copy link
Owner

Hey @srabiller. I just read you are using kin 2.1.3 and I wonder if you can try again with the latest version (which should be 2.1.13). I analyzed the changes in between those versions and it looks like we already updated Kin to properly handle those fields:

Screenshot 2024-12-03 at 13 08 21

Let me know!

@srabiller
Copy link
Author

Hi @Serchinastico I'm confused, I have this issue with 2.1.13 and not 2.1.3 :/

❯ brew info kin ==> kin: stable 2.1.13 (bottled), HEAD Sane PBXProj files https://github.com/Serchinastico/Kin Installed /opt/homebrew/Cellar/kin/2.1.13 (94 files, 1.4MB) Poured from bottle using the formulae.brew.sh API on 2024-11-21 at 17:24:26 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/k/kin.rb License: Apache-2.0 ==> Dependencies Required: [email protected] ✔ ==> Options --HEAD Install HEAD version ==> Analytics install: 66 (30 days), 250 (90 days), 816 (365 days) install-on-request: 66 (30 days), 250 (90 days), 816 (365 days) build-error: 0 (30 days)

@Serchinastico
Copy link
Owner

Hi @Serchinastico I'm confused, I have this issue with 2.1.13 and not 2.1.3 :/

Oh, I read it in your original message:

I'm on Xcode 16.1 [email protected] and kin 2.1.3

If you are in 2.1.13 that shouldn't happen at all, the problem is I've been trying to reproduce the same error and I wasn't able to. Can you please share a .pbxproj file that fails? If it contains sensitive information you can always manually delete or rename the fields you don't want to show but we are going to need an example of a failing project file if we want to fix the issue.

Apologies for the confusion and happy to help once we have the project file

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

No branches or pull requests

2 participants