Xcodeproj icon indicating copy to clipboard operation
Xcodeproj copied to clipboard

PBXFileReference not reporting all referrers when file is a .xib

Open jtehlert opened this issue 11 years ago • 0 comments

When trying to remove files from a project I've noticed that objects in this format: <PBXFileReference name='Base' path='Base.lproj/LaunchScreen.xib' UUID='F828844B1A40CE8700BA8B69'> do not report all of their referrers.

Calling referrers on that object returns one object, which I remove, but then when trying to remove that original object it says there is still a reference to a PBXBuildFile. For .m and .h files all referrers are being reported properly, but it does not seem to be working correctly with .xibs

Is there a different method for removing .xibs from a project than #remove_from_project?

jtehlert avatar Dec 18 '14 22:12 jtehlert