xCode 4 添加文件夹
在 xCode 3 中,我可以将一个文件夹拖到项目中并说添加引用,然后一切正常。当在 xCode 4 中执行相同操作时,它会使文件夹变为蓝色,并且在尝试构建时它会挂在 Attaching to .
我已经尝试了一切,但无法解决。我读过: Xcode 构建和资源文件夹
但这对我没有帮助。有人有想法吗?
In xCode 3 I could drag a folder into the project and say add references and it all works. When doing the same in xCode 4 it makes the folder blue and when trying to build it hangs at Attaching to .
I have tried everything but I couldn't resolve it. I have read :
Xcode building and resources folders
But that didnt help me. Does anyone have an idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通过拖动添加文件夹在 XCode4 中仍然有效。看下面的对话框,文件夹的第一个替代方案会将文件夹变成黄色,创建一个智能组。
第二种选择将直接引用该文件夹将其变为蓝色。
Adding a folder by dragging still works in XCode4. Look at the following dialog, the first alternative for Folders will turn the folder yellow, creating a smart group.
The second alternative will turn it blue referencing the folder directly.
重要的是不要将此目录称为“Resources”,因为它似乎会使 Xcode 产生许多“应用程序已安装”错误。
引用自此处: http://majicjungle.com/blog/123/
并在同一问题上为我工作。
It is important not to call this directory ‘Resources’, as it seems to confuse Xcode into giving a lot of ‘Application is already installed’ errors.
Quoted from here: http://majicjungle.com/blog/123/
And worked for me on the same issue.