XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Confusing error message when missing required property

Open luser opened this issue 3 years ago • 1 comments

I'm using xcodegen 2.27.0, installed via homebrew. I wrote a project spec, and had an info: key to include a Plist, but I neglected to add a path property to it. That produced this error:

Parsing project spec failed: Decoding failed at "path": Nothing found

This confused me to the point where I cloned the project and stepped through it in Xcode until I figured out where the error was coming from. It would be great if this error could at least tell me that it's trying to decode a Plist object, which would have given me a clue.

luser avatar Mar 31 '22 13:03 luser

I wanted to thank you for posting this since it just saved me hours of debugging. I had the exact same issue.

artemdinaburg avatar Feb 19 '25 17:02 artemdinaburg