Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode project inside project

I'm taking over some project of a colleague that is on holidays now.

Other projects have gone fine, but in this particular one, I have found a project inside a project, like using a framework I guess.

So what is the name of this technique?

project inside project tree image

How to insert and interact with it? just import?

like image 756
manuelBetancurt Avatar asked Nov 29 '11 02:11

manuelBetancurt


People also ask

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. Save this answer.

How do I add another project as dependency in Xcode?

To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL.


1 Answers

They are called cross project references. From the link below:

Cross-project references are a convenient way to create relationships between two separate Xcode projects.

One method of creating shared frameworks is using sub-projects. You can also do it with single projects. More here:

http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html

Other links:

XCode 4 Adding a Sub Project

like image 175
bryanmac Avatar answered Nov 13 '22 04:11

bryanmac