Xcode project inside project

后端 未结 2 1216
醉酒成梦
醉酒成梦 2020-12-03 18:43

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 proj

相关标签:
2条回答
  • 2020-12-03 19:00

    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

    0 讨论(0)
  • 2020-12-03 19:08

    cross-project references aka project in project aka sub-project aka nested projects. This approach uses Explicit dependency[About] [How to setup]

    If you already have separate Xcode projects for your framework and application, you can take advantage of Xcode’s cross-project references to embed the framework in your application. Cross-project references are a convenient way to create relationships between two separate Xcode projects.

    To define explicit dependencies between targets in separate project files, project files should be nested. This means that a target can set explicit dependencies of any other target within the same project file, or any nested child project file.

    In XCode 4, the idea of workspaces[About] is supposed to supersede the functionality of XCode 3s cross-project references

    0 讨论(0)
提交回复
热议问题