Prevent Xcode from building subprojects every time

前端 未结 1 665
感动是毒
感动是毒 2021-02-01 18:24

I have several subprojects in my project which are get built every time, even they are not changed and not in main project\'s target dependencies. Is there a way to prevent Xcod

相关标签:
1条回答
  • 2021-02-01 18:34

    It would seem you have Xcode 4's "Find Implicit Dependencies" enabled. Note that this is enabled by default.

    • Product > Edit Scheme…
    • Build (in left column)
    • UNCHECK "Find Implicit Dependencies"

    Xcode will then only build the dependencies which are out of date and specified as dependencies (or dependencies of a dependency).

    If you find that is not the case, then you may want to investigate what causes the build to retrigger (e.g. generated sources, relinking against dependencies which needed to be rebuilt, etc.).

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