English 中文(简体)
XCode 4: 拆除顶级夹
原标题:XCode 4: Removing top-level folder
  • 时间:2011-11-06 23:24:30
  •  标签:
  • xcode4

我意外地在SCode4所展示的顶层工作空间上增加了一倍。 这就是说,现在的夹子站在我的高层项目旁边,我要去除,但我看不出如何。 在我尝试时,删除选择是残疾的。 我在某个地方读到,在创造工作空间之后,可以删除这种文件。 我现在想尽量避免这种情况。

这一项目储存了该盒子的元数据。 pbxproj file? 我需要检查一下我对项目的改动。 pbxproj案,但不包括试图去除的顶级夹Im的元数据。

感谢。

最佳回答

我也有这个问题。 为将其固定下来,我从项目.xcworkspace人工删除了与我不想要的群体有关的部分。 载于我的xcodeproj一揽子计划:

  1. In Finder, right click on your .xcodeproj package and click Show Package Contents.
  2. Open the project.xcworkspace file in your favourite text editor.
  3. 完全删除你想要删除的小组所指定的xml元素。 我必须删除以下(我称为“新集团”):

     <Group location = "container:" name = "New Group"> </Group>
    
问题回答

也许这只是Xcode(地雷为6),但就我而言,除了斯特凡的答复外,还需要再迈出一步:

  1. Right click on .xcodeproj in Finder -> Show Package Contents.
  2. The same for project.xcworkspace inside: right click -> Show Package Contents.
  3. After that open contents.xcworkspacedata with text editor (default TextEdit is ok)
  4. 删除<> 标签:

    <Group location = "container:" name = "New Group"> ... </Group>
    




相关问题
XCode fails to deploy iPhone app to iPhone 3GS

So I built my iPhone app and it runs fine in the simulator so I wanted to deploy it to my iPhone for one last testing round before I go into open beta testing wiht my distribution profile. I did this ...

How can I "add existing frameworks" in Xcode 4?

I can t find the good old "Add existing frameworks" option. How do I do this? We re talking about Xcode 4 DP2 (in the context of iPhone development, as far as it matters...).

How to rename a project in Xcode?

There are some pretty horrible instructions out there for renaming projects in Xcode. Is there no easy way to do this?

Where did the script menu go in Xcode 4?

I always love the script menu from Xcode and the ability to automatically generate accessor methods definition und declaration. But it looks like in Xcode4 there is no such thing anymore. I know I can ...

Xcode 4 - Connecting Outlets

This page shows how easily I can connect outlets http://developer.apple.com/technologies/tools/whats-new.html in Xcode 4, but I can t get it. I right click and drag an outlet from the new ...

GCC to LLVM migration tips?

Xcode 4 comes with LLVM. As a casual programmer (i.e. download some open source projects and compile them on a mac via command line), is there any tips for the transition?

Building dependencies in Xcode 4

I have a project that has a dependency on a static library. In Xcode 3.2.3 the project that builds the library is setup as a direct dependency in the target settings so that the library is built ...

热门标签