I keep getting errors upon building my application on Xcode:
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
The linker has not been able to find any file in the linking process with the main swift entry point. This can be due to the file not existing at all in your project, or that it exists but has not been included in the compile or link build phases.
In Swift, the main swift entry point is defined in a
main.swift module, or (for iOS) in the
AppDelegate.swift file there needs to be a
@UIApplicationMain declaration. I don't see a
Compile main.swift in your log, perhaps its missing or not included in the build phases?