tomlokhorst / XcodeEdit

Swift library for reading and writing Xcode project files in OpenStep format
MIT License
206 stars 38 forks source link

Internally inconsistent warning without any further detail about error #32

Closed DanielAsher closed 6 years ago

DanielAsher commented 6 years ago

Hi,

I use Rswift and after a project merge have been getting this warning:

warning: [R.swift] project.pbxproj is internally inconsistent.

Perhaps a merge conflict?

Obviously the detail of the inconsistency is missing, so very hard to fix. Would anyone know under what circumstances no info on error is generated?

From reading the code it looks like either deadRefs or orphanObjs must not be empty, but I can't see a code path that would generate an empty error detail.

thanks,

Daniel

tomlokhorst commented 6 years ago

That's weird, and shouldn't happen. It sounds like a bug in XcodeEdit. I think there are either dead references or orphan objects, but for some reason they're not reported.

For debugging this issue, it would be really useful to have the project file. Would it be possible for you to send the project.pbxproj file? My email address is tom@lokhorst.eu

DanielAsher commented 6 years ago

Hi @tomlokhorst,

thanks for getting back so quick.

I'll try to email the project file later today.

Cheers,

Daniel

tomlokhorst commented 6 years ago

Closed due to inactivity