0

I keep trying to run my Xcode project titled 'Simple Calculator' and it keeps giving me the following error,

clang: error: no such file or directory: '/Users/computerscienceyr1/Desktop/Simple Calculator/Simple Calculator/ViewController.m'

Here is a screenshot of the whole issue Screenshot.
Each time I create a 'Simple Calculator' Directory, the error extends into: '/Users/computerscienceyr1/Desktop/Simple Calculator/Simple Calculator/Simple Calculator/ViewController.m' and goes on and on.

                                    **UPDATED**

This is what happens when double clicked Screenshot.

Targets> Build Phases> Compile Sources - File exists.

Removed ViewController.m and others again. No changes occurred.

1 Answers1

-1

Try this: open the .pbxproj file, search for the file name and delete the rows where it appears, then add the file again to your project.

This post may help you as well.

Community
  • 1
  • 1
lluisgh
  • 325
  • 1
  • 6