americanexpress / xcprojectlint

A security blanket for Xcode project files
Apache License 2.0
504 stars 18 forks source link

Outputs error concerning not finding expected key (fileRef) #7

Closed lordcodes closed 4 years ago

lordcodes commented 6 years ago

xcprojectlint is being ran as a build phase on an iOS Xcode project.

It outputs:

We didn't find an expected key (fileRef) in "(type(of: self))". Please open a bug report at https://github.com/americanexpress/xcprojectlint/issues so we can investigate.

RomainBoulay commented 5 years ago

Hey American Express!

Same problem here. My team used to have a clean output and we got this message recently. @HeEAaD, @kalkwarf any idea what could cause this?

Thanks!

kalkwarf commented 5 years ago

@RomainBoulay The short answer is, an assumption I made about the project file structure is no longer correct for your project file.

Can you share the project file with me? (I don't need the rest of the source/supporting files)

orj commented 4 years ago

@lordcodes I fixed the error message recently so that it gives more correct info.

lordcodes commented 4 years ago

@orj Thank you very much, I will take a look.