Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.x adding new Project to a Workspace

Tags:

xcode

One would think that adding a project to a Workspace in Xcode would be intuitive.

1) But when you add a new project it is added within the existing project - It must be a bug, or is there actually a reason.

2) How do you add a project then (ctr + right click et.)

like image 516
Chris G. Avatar asked Jun 13 '12 18:06

Chris G.


People also ask

How do I add a project to my workspace in Xcode?

In the Project navigator, Control-click in the empty space and choose Add Files to “workspaceName”. In the sheet that appears, select an Xcode project (a file with a . xcodeproj filename extension). Click Add to add the project to the workspace.

What is the difference between workspace and project in Xcode?

1) Projects contain files (code/resouces), settings, and targets that build products from those files and settings. Workspaces contain projects which can reference each other. 2) Both are responsible for structuring your overall project, but on different levels.

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

You could use the plus (+) button on the lower left corner of Xcode IDE to add a new project to a workspace. You must have first a blank workspace, which you could use the menu (New/Workspaces with short cuts ^%N).

enter image description here

like image 183
Sangcheol Choi Avatar answered Nov 15 '22 23:11

Sangcheol Choi