spotify / XCRemoteCache

Other
827 stars 50 forks source link

Fix building target dependencies list with custom DERIVED_FILE_DIR #122

Closed polac24 closed 2 years ago

polac24 commented 2 years ago

121 follow-up

  1. Fixing a scenario when someone sets DERIVED_FILE_DIR to $(SRCROOT)/.build/BuckOutput. Then, a derived files would classify that as a source instead of .derivedFile (see testSkipsCustomizedDerivedDirFileUnderSources)
  2. Minor: only *-Swift.h files in DerivedFilse were not included in a dependency list. I don't see a reason why to be so strict and not skip all potential "internal" dependencies that are placed there. So far I don't know any other files that could be generated there but in the future, Xcode may generate there something else than -Swift.h.