Xcode: "<unknown>:0: error: cannot load module 'main' as 'Swift'" upon trying to compile
Just started using Swift on Xcode. For some reason, anytime I want to compile, it shows the error: <unknown>:0: error: cannot load module 'main' as 'Swift' The only way I could find to fix it is to either clean build…