I am having trouble opening basically all my .xcodeproj on my mac. However, when I clicked on show contents of my xcode proj I can see the xcworkspace file but I can't open it. I wonder if anyone knows how to fix it?
Thanks


okay I can't post img yet but the error was on title: The document project.xcworkspace could not be opened


I have this problem as well. This is not an error from Xcode itself, it is related to the last macOS catalina update. Each time I get this error the Preview App suddenly presents the same problem with some PDF files.
The temporal solution is just restart your mac and work on your projects until the error comes back again....