Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xCode 4 Adding Folders

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?

like image 241
Mark Avatar asked Nov 30 '22 08:11

Mark


2 Answers

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.

enter image description here

like image 177
Nick Weaver Avatar answered Dec 04 '22 09:12

Nick Weaver


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.

like image 30
Yogev Shelly Avatar answered Dec 04 '22 10:12

Yogev Shelly