The archive “Xcode_11_Beta.xip” can’t be expanded because the selected volume doesn’t have enough free space

I’m downloading the new Xcode 11 Beta.

After the file is downloaded when I double click to open it I get this error

The archive "Xcode_11_Beta.xip" can't be expanded because the selected volume doesn't have enough free space 

The Xcode 11 Beta takes up 7.66 GB and I have 18.27 GB available on my disk. I’ve tried downloading it twice and get this same issue. I am running macOS Mojave 10.14.5 on a MacBook Air (13-inch, Early 2015).