Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

Tags:

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?

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?

like image 323
Andrew Paul Simmons Avatar asked Jul 11 '16 02:07

Andrew Paul Simmons


People also ask

What is the difference between workspace and project in Xcode?

Workspaces Extend the Scope of Your Workflow Although a project can contain references to other projects, working on interrelated projects in Xcode 3 is complicated; most workflows are confined to a single project.

How do I integrate one project to another file in Xcode?

drag and drop xcode file to another xcode file from finder. It will ask you for copy the file then check the check box and it will copy to your project.

How do I create a new project in Xcode?

Launch Xcode, then click “Create a new Xcode project” in the Welcome to Xcode window or choose File > New > Project. In the sheet that appears, select the target operating system or platform and a template under Application. In the following sheets, fill out the forms and choose options to configure your project.


1 Answers

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.

like image 74
Andrew Paul Simmons Avatar answered Sep 20 '22 08:09

Andrew Paul Simmons