Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4 Adding a Sub Project

Tags:

xcode

project

I am looking at somebody else's project and they have another project embedded under 'Other Sources'. When I click on the project it shows me the build settings etc, and I can expand all the source underneath.

I want to do the same thing, but when I drag an xcodeproj file into my project I don't get the build settings or any of the source shown like in this other project. How do I do this?

Thanks Ray

like image 354
Ray Avatar asked Apr 26 '11 00:04

Ray


People also ask

How do I add a sub project in Xcode?

Drag the subproject in via finder If you have setup your staticlibrary like I explained here you now need to tell the main project where it can find the public header. With that done, you should now be able to import the static library header and use it in your main app.


1 Answers

Just be sure that your added project is not open in another Xcode window.

BTW this is still valid with Xcode 7.2 beta.

like image 92
MacTeo Avatar answered Oct 12 '22 23:10

MacTeo