You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build and path handling adjustments to handle both old build system and swift-build (#740)
* adjust product name to survive new build system
The way we're looking up the swift-java "tool" in plugins uses the
target name "SwiftJavaTool" and that is correct in the natrive build
system.
In swift 6.4, and in Xcode, the swift-build build system is actually
naming them using product names: so swift-java. In order to have the
build work in BOTH build systems, we have to make the name be the
same... It's a workaround, but it seems to work.
This should resolve the failure
```
error: Build input file cannot be found: '/Users/ktoso/code/swift-java/Samples/JavaKitSampleApp/.build/out/Products/Debug/SwiftJavaTool'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
```
that folks were reporting in #733 and in #281
* forward env to tool uses
* include swift-build paths in search paths
* more workarounds for nested swift-builds
0 commit comments