nokeedev / gradle-native

The home of anything about Gradle support for natively compiled languages
https://nokee.dev
Apache License 2.0
48 stars 8 forks source link

Generate VFS overlays for headers in child projects #842

Closed lacasseio closed 1 year ago

lacasseio commented 1 year ago

Because of our target isolation trick, Xcode is not properly identifying the headers belonging to dependencies, thus having a difficult time handling them. Within a workspace, Xcode will automatically generate the VFS overlays. However, in a single target build, this is not the case. We believe this behaviour is to work around misconfigurations of the builds where some include path points into the product directory while simultaneously referencing headers in the PBXGroup. The overlays help overcome this by matching the headers from the Products to their original source.