Missing file warnings showing up after upgrade to Xcode 4

后端 未结 21 1852
忘了有多久
忘了有多久 2020-11-30 17:23

I recently upgraded to Xcode 4 (which is a great upgrade) but now I\'m getting some warnings that I did not get before. I have looked through forums and other SO posts but

相关标签:
21条回答
  • 2020-11-30 17:46

    Press Cmd + 7 after build and select the latest build action. Does it look like good old Xcode a bit? :) enter image description here

    0 讨论(0)
  • 2020-11-30 17:46

    I didn't have to do anything. I committed my code and pushed it up. Turned off XCODE. Pulled it down again and everything just worked.

    0 讨论(0)
  • 2020-11-30 17:47

    This worked for me:

    File -> Source Control -> Hide Working Copy Status

    then

    File -> Source Control -> Show Working Copy Status

    0 讨论(0)
  • 2020-11-30 17:48

    I used the following way to deal with tha issue:

    Launch the terminal and cd to the project directory. (ex: cd /Users/Mauro/Src/Pippero-1.2/ )

    Then enter the following command:

    find . -name .svn -exec rm -rf { } \;
    

    the command will recursively search for files (and folder) called .svn and delete them

    0 讨论(0)
  • 2020-11-30 17:49

    I had that bug and found no way to solve it other than creating an empty file on that position and then deleting it. It happened with files I had deleted from the project, and cleaning, building, deleting manually the Derived Data directory didn't work either. I believe it is a bug, and that it can be quite painful if it happens with more than a few files.

    0 讨论(0)
  • 2020-11-30 17:49
    1. Commit and push your changes.
    2. Restart Xcode.
    0 讨论(0)
提交回复
热议问题