xed .

less than 1 minute read

Opening an Xcode project or Swift packages from the command line

If you have ever used the open command to launch an Xcode project, there is a better way.

Instead of open *.xcworkspace or open *.xcodeproj, you can simply xed . instead.

xed will automatically find a xcworkspace or xcodeproj if a xcowrkspace isn’t found in the given directory. This can be useful for automating workflows if you work across many xcode projects frequently.

xed and Swift packages

Or if working with Swift packages that don’t have an xcodeproj, xed . will launch Xcode and given you have Xcode 11 with its native Swift package support, you can continue working happily away

Updated: