Unable to open project… cannot be opened because the project file cannot be parsed

前端 未结 21 2231
有刺的猬
有刺的猬 2020-12-04 08:34

I have been working for a while to create an iPhone app. Today when my battery was low, I was working and constantly saving my source files then the power went out...

<
21条回答
  •  死守一世寂寞
    2020-12-04 09:05

    It sounds like you're going to have to create a new project in Xcode, go into the old directory, and drag all your source files, nibs, and resources into the Xcode files sidebar in the new project. It shouldn't take more than a few minutes, unless you really did a lot of work with custom build settings or targets. Either that, or revert to the last check-in in your source control and manually add any code files which changed between now and then.

提交回复
热议问题