开发者

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

开发者 https://www.devze.com 2023-02-16 07:46 出处:网络
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).

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

精彩评论

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