gmazzo
10/02/2025, 2:46 PMswift-library and xctest but I'm getting weird erros on both Mac/aarch64 and Linux/amd64 platforms:
MacOS:
> Task :linkTest FAILED
Undefined symbols for architecture arm64:
"_main", referenced from:
<initial-undefines>
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Linux:
Gradle Test Run :client-ios:xcTest STANDARD_ERROR
Could not cast value of type '@Sendable (ClientIosTest.SerializationTest) -> () throws -> ()' (0x7f41b001ea40) to '(ClientIosTest.SerializationTest) -> () throws -> ()' (0x7f41b001ec30).
*** Signal 6: Backtracing from 0x7f41ae57d9fc... done ***
Is it still supported? I checked https://github.com/gradle/native-samples/tree/master/swift/simple-library and the gradle version in there is 6.9. Bumping to 9.1.0 breaks it.gmazzo
10/03/2025, 8:20 AMSwift 6, downgrading to Swift 5 does worksdaniel
10/17/2025, 12:49 PM