I'm building an application in Xcode and the application won't run (the run button is greyed out). I made a copy of the initial program and began to work on the copied version to add some features. Now the copied program won't run. Also, I can't selected if I want the program to run in the iPhone simulator or the iPad simulator. The only option is the 64 bit macbook. Any ideas as to why? Maybe because both program have the same executable file? Thanks for the help.
2 Answers
GO to target & check that You select right name of your App that you want to run like below
image:

And select right App name like below image:

1 Comment
user1681673
The problem was I made a copy of the program and changed the name of the program to not get confused. It wouldn't run because the name of the program was different. Thanks for the lead.
Probably your scheme lacks a runnable configuration.
Take a look at Xcode can build a project but can't run it on simulator