swiftlang/swift-java

Unable to compile after generating code: error opening input file '..../Proxy+Type.swift' (No such file or directory)

Opened this issue · 2 comments

Code generation seems to succeed for java.net.* classes, but then the compilation step fails.

build.log

Archive.zip

:0: error: error opening input file '/Users/coleman/Developer/Android/.build/plugins/outputs/android/AndroidJavaNet/destination/SwiftJavaPlugin/generated/Proxy+Type.swift' (No such file or directory)

These were an issue with Swift 6.1+ that we resolved by moving to build plugins and listing all expected outputs.

I expect this to work now, please verify with latest (July 14) swift-java @colemancda

I just finished generating bindings for android.bluetooth.* and it's one of the few times with Android where the plugin worked 100% OOB and compiled without a hiccup. I will have to try java.net.* again.

https://github.com/PureSwift/AndroidBluetooth