Skip to content

Commit 6b3ba45

Browse files
authored
Including SwiftJavaRuntimeSupport on SwiftHashing dependencies.
Including SwiftJavaRuntimeSupport in the dependency list as it seems to be imported by swift generated files. Building the hashing-lib example the following error is throwing ``` [125/128] Compiling SwiftHashing SwiftHashing.swift 7 | import SwiftJava 8 | import CSwiftJavaJNI 9 | import SwiftJavaRuntimeSupport | `- error: no such module 'SwiftJavaRuntimeSupport' 10 | ```
1 parent d0a7b33 commit 6b3ba45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hello-swift-java/hashing-lib/Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ let package = Package(
6060
.product(name: "Crypto", package: "swift-crypto"),
6161
.product(name: "SwiftJava", package: "swift-java"),
6262
.product(name: "CSwiftJavaJNI", package: "swift-java"),
63+
.product(name: "SwiftJavaRuntimeSupport", package: "swift-java"),
6364
],
6465
swiftSettings: [
6566
.unsafeFlags(["-I\(javaIncludePath)", "-I\(javaPlatformIncludePath)"], .when(platforms: [.macOS, .linux, .windows]))

0 commit comments

Comments
 (0)