开发者

Xcode 4: Files get stuck outside of project, unable to be deleted

Lots of my files in my Xcode project get "stuck" outside of my project and I'm unable to delete them. This happens occasi开发者_运维问答onally when creating new files (maybe 50% of the time).

Here's a screenshot of what happens:

Xcode 4: Files get stuck outside of project, unable to be deleted

Any ideas?

Thanks.


Same problem, solved editing manually the project bundle:

  • quit xcode
  • right click on "Philly Shows.xcodeproj" and show its content
  • same operation on "project.xcworkspace"
  • open "contents.xcworkspacedata" with a text editor: you'll find references to your stuck groups and files, remove what you want to remove, basically your file should be something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Workspace version = "1.0">
        <FileRef
            location = "self:Philly Shows.xcodeproj">
        </FileRef>
    </Workspace>

Michele

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜