Solution 1:

Xcode 6 currently requires an active iOS or Mac Developer Program membership, available from developer.apple.com/programs, as Xcode 6 and Swift is not publicly available yet. Once Xcode 6 is out of beta / prerelease anyone should be able to download it from the MAS, but that is speculation based on past experience and not something Apple has announced.