1

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 2

3

GO to target & check that You select right name of your App that you want to run like below

image:

enter image description here

And select right App name like below image:

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

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.
0

Probably your scheme lacks a runnable configuration.

Take a look at Xcode can build a project but can't run it on simulator

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.