Adding files in Xcode 4.2 does not work (blue folders, files are not recognized)

In Xcode 4.2, every time I try to add file folders to my project, the files are not recognized. Typically, a folder is added and displayed as a yellow folder in Xcode. But now, every time I add files to my project, my folders are blue and they are incorrectly recognized by Xcode.

Screenshot:

enter image description here

+6
source share
4 answers

I encounter the same situation after upgrading Xcode to 4.2. My solution drags the entire folder into the Xcode project, after which a dialog box appears in which you learn how to handle it. Select Create Groups for Any Added Folders and click Finish. Then it should work and show the โ€œyellowโ€ folder of the group instead of blue. Hurrah!

+13
source

When adding a new file to an open panel using the create groups or create folders radio button, a radio button for any added folder appears. Make sure crate groups selected.

+4
source

A screenshot shows that the folder has crashed; did you click the little triangle next to it to see the contents of the folder?

+1
source

Click the project name and press cmd-N

Step 1 - Select a template for your file Step 2 - Enter the class name Step 3 - you will be asked to select the group in which you want to create a class

After creating the class files, select the class files, right-click and select (New group with name)

0
source

Source: https://habr.com/ru/post/901371/


All Articles