skip to Main Content

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

2

Answers


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

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search