-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Cannot find or use auto-linked libraries XCTestSwiftSupport and XCTest #2155
Comments
Please provide more details. Package manager, reproducible sample, etc. |
@freak4pc Thank for your replies, because the libraries was private, I cannot share the code. |
All my tests are running, without further details I can't help much. |
Ok, so In general Swift Package Manager has some serious duplicate issues. I’ve filed several bugs to Apple and the SPM team about this but it wasn’t resolved yet. See #2063 for example. Unfortunately I don’t have a proper solution for you since this is a SPM bug, not an RxSwift bug. |
Ok, buggy apple.....Hope all will be better tomorrow morning...Haha |
FWIW I'm seeing this issue only using Cocoapods not SPM at all. Here are the relevant lines of my podspec file:
And here is the podfile.lock of the example project that is failing:
|
Any way for you to provide a repro project @dannyhertz ? |
@freak4pc very sorry for the false alarm. Turns out these were missing from the podspec of my test helper pod.
Strange that things were working before in 11.3 without them. Thanks again! |
As mentioned, this is an issue with SPM specifically. The other frameworks you mentioned aren't comparable because they're a single framework, while RxSwift inclues 5 different products, while some of them depend on each other and have specific test products. |
Okay, hope it can be solved very soon... |
Closing this, see #2127 (comment) |
If you still want to report issue, please delete above statements before submitting an issue.
Short description of the issue:
I updated my Xcode 11.4 and then build the project(it's okay, changed nothing, but it shows the error cannot find or use auto-linked libraries XCTestSwift Support and XCTest.
Expected outcome:
build successfully
What actually happens:
Failed to find or use auto-linked libraries XCTestSwiftSupport and XCTest
what actually happens goes here
Self contained code example that reproduces the issue:
RxSwift/RxCocoa/RxBlocking/RxTest version/commit
version or commit here
Platform/Environment
How easy is to reproduce? (chances of successful reproduce after running the self contained code)
Xcode version:
Installation method:
I have multiple versions of Xcode installed:
(so we can know if this is a potential cause of your issue)
Level of RxSwift knowledge:
(this is so we can understand your level of knowledge
and formulate the response in an appropriate manner)
The text was updated successfully, but these errors were encountered: