Hello, I've encountered this error while using Xcode 13. All my .xib files were unable to be used on my project.
So my solution was to downgrade my Xcode version to 12.5.1 by downloading here https://developer.apple.com/download/all/
If my solution can help someone, it would be fine !