Hi all,
I have an Xcode 10.2 workspace with 3 projects: DeepLib, DirectLib, and App. libDeepLib.a is linked with DirectLib, and libDirectLib.a is linked with App. Using the new build system, I can't make Xcode to rebuild both DirectLib and App when I modify a source file in DeepLib (this was OK with the legacy build system).
I have tried this:
- enabling "Find Implicit Dependencies" in the scheme
- adding DeepLib and DirectLib before App, in the Build pane of the scheme, checking all checkboxes
- adding explicit dependencies by adding DeepLib.xcodeproj to DirectLib, then add DeepLib in DirectLib's target dependencies build phase; and the same with DirectLib and App
What should I do? I'd rather avoid linking DeepLib to App directly, as DirectLib is designed to hide DeepLib to the client application. And of course, I'd like to avoid cleaning the build folder for each build.
Thanks!