Finder search multiple file types
After the initial link from fsb to How to create a smart folder for files created in the last 5 minutes I've went ahead and created a custom expression. For reference, this is the custom query that I've used:

kMDItemFSName == *.xcodeproj ||kMDItemFSName == *.xcworkspace