spotify / XCRemoteCache

Other
830 stars 53 forks source link

Enable virtual file system overlay replacements #71

Closed polac24 closed 2 years ago

polac24 commented 2 years ago

Part II of the Virtual File System Support (#70 continuation)

Problem:

When dynamic libraries are built in parallel, Xcode provides a mapping for virtual file system (-vfsoverlay argument) because some dependency files may not be ready yet, e.g. prepared .framework and compilers should look into "temporary" locations. Because these temporary locations are reported as dependencies, their absolute paths might leak to a meta json.

Solution

This PR inserts an extra step in the producer and consumer flows:

Fixes #59