-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link error when building in command line #171
Comments
The 5.9 toolchain is not supported. If you are having trouble while using a main branch development toolchain, please reopen. |
A duplicated one as swiftlang/swift-package-manager#6940 The upstream SwiftPM team has fixed it on latest 5.9 release (5.9.2). In our case, just update the local Xcode version from Xcode 15.0 to Xcode 15.1 would fix the issue. My CI is always using Xcode 15.1 |
I have run some runtime crash on Linux after converting another framework to swift-tesing. Since I still use 5.9 + 0.3.0 (There is no Swift 5.10 release toolchain yet on Linux), I'll report an issue if it was still there after the version bump. For now I just comment the 2 crash test file out and limit to Darwin only. // *** Program crashed: Bad pointer dereference at 0x0000000ffff9400a ***
// swift-testing framework will crash here on Linux
// Report to upstream for investigation when we bump to 5.10
#if canImport(Darwin)
final class ExternalTests: TestBase {
@Test
func example() throws { }
}
#endif
class TestBase {
init() { ... }
deinit { ... }
} |
Description
Build fine with Xcode GUI locally and CLI on CI. However recently I just can't build locally with CLI by running
swift test
. It will give me some strange link error.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
swift-testing version/commit hash
0.2.0
Swift & OS version (output of
swift --version ; uname -a
)The text was updated successfully, but these errors were encountered: