xcode

In Xcode how do I create a new workspace and add 1 project to it so that I can see the project and its files?


In Xcode how do I create a new workspace and add 1 project to it so that I can see the project and its files?

If I just drag in the project, all I can see is the project it cannot be expanded, I cannot see the files. Also, is there anyway to copy over existing schemes from the project so that they can be used in the workspace?


Solution

  • First choose file > new > Workspace...

    Then, you must first, and this is important, you must first close the project that you want to drag in. Than drag in the .xcodeproj file from the finder to your new workspace. Then it will appear properly and expand to show all of its files and your schemes will be available.