-
Notifications
You must be signed in to change notification settings - Fork 736
XCode 11: Can't find library libXCTestSwiftSupport.dylib when running tests #773
Comments
We get this too, but it's intermittent. Is that what you have @neotron ? |
It happens persistently for me on every run. |
Does this error happen when running Swift tests? |
1.Update; our team used this solve; 2.For me it was not actually intermittent 3.we are now still using xctool with fix [1] and all is well. 4.we have both swift tests and ios tests I believe in our project |
We have mixed ObjC / Swift tests, and the tests depend on a library with mixed objc/swift code. |
@neotron do you think you can give me a test project where it is reproducible? I created several examples myself and couldn't repro the issue. |
Alternatively if you can build xctool locally, can you try this change: in
Another question I have - do you run logic or app tests? Because in case of app tests |
And is it iOS or OS X target? Thanks! |
I can see if I can get a reproducible project. It's iOS / logic tests - not app bundle. |
Thanks! Or if it is easier to try with a suggested fix I can live with that :) |
For the test bundle - are tests in Swift, Objective-C or both? |
It's a combination of Swift and Objective C - mostly ObjC. Same with the library where the actual code lives in. |
This appears to live in
and I can get it to run if I add the following to the command line:
The text was updated successfully, but these errors were encountered: