I\'m building an iOS 9 App with Swift 2 and Xcode 7.
My app runs fine when deploying it to my phone but when I run any unit test, I get the following error message f
The answer by @Mundi is correct for some cases.
However, I experienced the same error and what was causing it is that the libPods.a file for Cocoa Pods was being linked in the app target and the test target.
libPods.a