I had a Swift 1.2 OS X document based (and CoreData FWTW) app, that when I updated to 2.0 gave me errors because in my swift.main there was a reference to two C_<something> variables which were not defined (I think they would have pointed to the old standby number of args and list of args argument that C main entry points had.)
I created a test document based Swift 2.0 app to see what the now approved format for swift.main, and I was surprised to see that there is no longer one created at all! Alrighty, I think, I'll just delete my swift.main and everything should be OK. Nope... Now I get a linker error...
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)So what SHOULD I put in my swift.main to make things OK, now?