Add UI testing target to existing project, implicit entry/start for main executable

UI testing came as new feature in Xcode 7. You even can record what you are doing on the ui, Xcode will generate the code which you can use it for testing later. This definitely will give more code testing coverage to our projects, especially for ui stuffs.

I’m very exciting about this, but after add `UI testing bundle`, the very first thing I run the app I got this:

Very annoying, I added @UIApplicationMain to my delegate file, why this happen to me.

Interesting thing is unit testing target is running fine which should be very similar to UI testing target. And finally while I comparing two targets, I found out UI testing target defaultly configure as `Executable` which should be `Bundle` instead.

Hopefully this will help you out and save your time.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.