Adding a project as a dependency in Xcode

I've been trying to add an Xcode project (a static library) as a dependency to another project (a framework). I've read about this issue, but I can't find what I'm looking for. Specifically, what I find is a way to add the static library binary as a dependency (in target dependencies), but this is not what I want. Instead, I have two projects configured in the same workspace. Similar to this:

在这里输入图像描述

(Image credits)

What I want is for the MyLib project to build when MyApp builds, if needed. I'm not just interested in adding the static library for linking. Is this possible?

Edit: I'm currently exploring the possibility of doing this using a Run Script . If possible I'd like a better alternative, though

链接地址: http://www.djcxy.com/p/48304.html

上一篇: Simulink项目依赖管理和依赖解决

下一篇: 在Xcode中添加项目作为依赖项