-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
error: (DecodingError) keyNotFound(CodingKeys(stringValue: "compatibilityVersion", […]), […])) #837
Comments
Thanks @F1248 for reporting this. Seems like Xcode 16 uses a slightly different schema when |
@pepicrft, I'm sorry, but I can't fix this myself. I would be delighted if someone else could. |
Hola 👋, We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. |
@thanhbinh01234, thank you for fixing this! |
Context 🕵️♀️
16.0 beta 5 (16A5221g)
Xcode 16.0
2.21.0
I'm trying to scan my project with Periphery which uses XcodeProj. When I run
periphery scan
it says the keycompatibilityVersion
was not found, which is correct, my.xcodeproj
file doesn't contain this key.It seems that since project format
Xcode 16.0
this key should no longer be included. When I downgrade the project format toXcode 15.3
, it adds this key, but as soon as I revert it back toXcode 16.0
, it removes it again.What 🌱
error: (DecodingError) keyNotFound(CodingKeys(stringValue: "compatibilityVersion", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"compatibilityVersion\", intValue: nil) (\"compatibilityVersion\").", underlyingError: nil))
Proposal 🎉
Don't expect the key
compatibilityVersion
if theobjectVersion
is >=73
.The text was updated successfully, but these errors were encountered: