Reputation: 21
Newbie Here
I was cleaning up some of my code by deleting and moving around excess code that I had been playing around with, and then I got the above error and I have no clue what went wronge or how to fix it. I was not trying to do anything really special with my app, just a few buttons, a Table View, navigation controller, and an MFMailComposeViewController.
P.S. Thanks for the help. Any leads, tips, tricks, cheats, and just plain advise is welcome.
Upvotes: 2
Views: 3033
Reputation: 36752
Search your project and verify that you have a global function satisfying this method signature:
int main(int argc, char *argv[])
Xcode template project will add this method in a file named main.m
usually under the Other Sources group.
If the function exist, also make sure that the file is included in the targets list of Compile Sources.
Upvotes: 8