Recently I downloaded Xcode 9 and created one sample iPhone app but the app is not able to build as it shows the following error:
ld: entry point (_main) undefined. for architecture x86_64
I searched on net about same and tried few ways like deleting derived data, restarting Xcode but still not fix the problem.
Anybody has faced similar issue?
Adding @UIApplicationMain fixed the issue.
@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { ... }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With