Xcode dependencies across different build directories?

前端 未结 5 1220
我在风中等你
我在风中等你 2021-01-19 08:28

I am trying to set up Xcode for a project which contains multiple executables and static libraries. I have created multiple targets and set up the linking and dependencies,

5条回答
  •  天命终不由人
    2021-01-19 09:02

    Xcode doesn't automatically set up dependencies based on use of build products; you have to set up explicit target dependencies yourself.

    Project > Edit Target Settings, General tab, + button, add any targets that are prerequisites to building the selected target. That should get you going again.

提交回复
热议问题