I have deleted Xcode 10 beta 3 and upgraded to Xcode 10 beta 5.
However, due to this bug, I need to go back to an older beta (either 3 or 4).
There is no direct link to older betas at https://developer.apple.com/download/.
Is there a way to get to older betas of Xcode?
You can go to the https://developer.apple.com/download/ then simply copy the link under the download button of beta 5 and overwrite the 5 to 4 in the link.
So you can download all old versions you want.
Don't download from any unofficial website
There is an unofficial website tracking Xcode releases here:
来源:https://stackoverflow.com/questions/51787994/how-to-get-to-older-xcode-beta-version