spoax
spoax

Reputation: 589

Can't make files or folders inside main Xcode project folder

I am trying to create swift files and groups inside my main Xcode project group but for some reason it doesn't let me do it. When selecting new file it creates it outside of the group selected, and if I try and create a new group inside, the option is just greyed out.

I have never had this issue before with Xcode 11 and earlier, is this a feature that has been removed? Do I now have to make a separate group and work outside the initial project group?

Hopefully the image below will help explain what I mean.

NOTE: I am running Xcode 12.2 on BigSur 11.0.1

enter image description here

Here is what happens when I try to drag and drop the folder into the products group.

enter image description here

Upvotes: 1

Views: 711

Answers (2)

Matt
Matt

Reputation: 21

I also created an iOS App titled "Products". Upon changing the name to something else (Product Manager) I was able to add files to the project

Upvotes: 2

Fabian Stiewe
Fabian Stiewe

Reputation: 350

in the second step of creating the file, do you still have selected the right folder? Or is there maybe an other folder selected?

Upvotes: 1

Related Questions