Add x function to open xcode workspace or project