Xcode 8 - Missing Files warnings

前端 未结 14 1632
独厮守ぢ
独厮守ぢ 2020-12-02 08:24

Ever since upgrading to Xcode 8 using Swift 2.3 I have several missing files warnings. They are all related to pods that I am using.

The files that are missing are

相关标签:
14条回答
  • 2020-12-02 08:48

    I had this issue on Xcode 9.3

    The solution that worked for me: Add a space in the file, save, then wait for the ! status to change to M, and delete the space, save.

    Sadly, with nearly a 100 files to go through, I revisited this post, and this comment from @BennyTheNerd to an answer, helped!

    For me, it was as easy as quickly disabling and then re-enabling source control under preferences. Xcode > Pref > Source Control > uncheck "enable source control" .... then re-enable it after. And poof! gone! – BennyTheNerd Jan 16 '17 at 7:29

    Additionally though, I had quite Xcode and then open the same project, and then re-enable source control through preferences.

    Hope this helps!

    0 讨论(0)
  • 2020-12-02 08:59

    I've had this problem a few times now and finally I had it after doing ugly workarounds! I sat down and tracked it until I found the reason to it and were the references are stored!

    As someone already proposed it has to do with version control, well yes and no, in some cases, it definitely have to do with poking around with files directly using the finder or whatever (but not from XCode)

    Here's a quick fix that saves a lot of trouble and swear words!

    Delete this file: ./.xcworkspace/xcuserdata/.xcuserdatad/UserInterfaceState.xcuserstate

    And the errors go away!

    0 讨论(0)
提交回复
热议问题