Setup:
Xcode 4.3.1 (or 5.x)
OS X 10.7.3
I have reproduced this issue on two separate late-model Macs with this setup.
Steps:
File > New > Project…
Name it "MyApp".File > New > Workspace…
Name it "MySuite".MyApp.xcodeproj
file from the Finder into the Project Navigator of "MySuite" Workspace.Expected:
The Project Navigator of the "MySuite" Workspace should now show a full sub-Project for "MyApp" with Source, Targets, etc.
Actual:
"MySuite" Workspace Project Navigator shows a tiny MyApp.xcodeproj
item in the Project Navigator. (see screenshots)
Dragging:
Result:
What am I doing wrong in trying to add a Project to a Workspace?
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.
The Project navigator displays your project's files and lets you open, add, delete, and rearrange those files. To open the Project navigator, at the top of your project window's navigator area, click the icon that resembles a file folder.
Be sure you don't have the project already open in another window. Xcode only lets you open a project one time. I've made this mistake a lot when working on a framework then trying to add it to an application.
Simply close the project you're trying to drag in's window and everything will be happy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With