This may not be for everyone, but I solved it by writing code for the main purpose.
I had an empty project, consisting of a framework and a test target, and when I ran the tests I received this error. Obviously, Swift is pretty smart to discover that you really don't need this library, and does not reference libswiftSwiftOnoneSupport.dylib
.
To fix this just add the code, I just added:
class Test { func a() { print ("something") } }
and libswiftSwiftOnoneSupport.dylib
are related.
source share