-3

Tried checking Target Dependencies, got rid of the UITests & Tests files from there. Any other suggestions?

I get two errors like the following:

Unable to run command 'CpResource CLS.app' - this target might include its own product.

Eiko
  • 25,601
  • 15
  • 56
  • 71
Joseph Catley
  • 53
  • 1
  • 2
  • 10
  • Welcome to SO. You should write the output in your question and not just post an image. Also, you might find this helpful: http://stackoverflow.com/help/how-to-ask – Idan Jul 07 '16 at 13:13
  • 3
    You don't give much to go on but try: http://stackoverflow.com/questions/10448589/this-target-might-include-its-own-product – Phillip Mills Jul 07 '16 at 13:14

3 Answers3

0

If you got rid of all the files with the command that causes the issue (searched in project).

Try to clean the project (in XCode menu Product-> Clean) and rebuild

Idan
  • 5,405
  • 7
  • 35
  • 52
0

You should try quitting Xcode, then copy/pasting the files from your 'bad' project into a new one. Try checking other files like frameworks, etc too.

Andy Lebo
  • 64
  • 8
0

Try renaming the app. Some names can confuse Xcode. Then try rerunning the project.

If this doesn't work, try cmd + shift + k to clean your project

Pranav Wadhwa
  • 7,666
  • 6
  • 39
  • 61