Xcode workspaces with sub-projects and project dependencies triggering builds

前端 未结 6 421
轻奢々
轻奢々 2021-01-31 08:18

I wish there was better documentation for this for Xcode 5 but I couldn\'t find anything decent describing best practices for working with workspaces, so..

In a workspac

6条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-31 08:58

    In Xcode 5 you have to:

    • Select the project on the left tab
    • Choose the target in the TARGETS section
    • Then in Build Phases > Target Dependencies press "+"
    • Choose the added project as target it will appear in the Target Dependencies list

    If it works, when building all target dependencies will be build together if needed.

提交回复
热议问题