Can't include Objective-C .framework in Xcode 7 UI test target?

1k views Asked by At

I'm trying to depend on OHHTTPStubs as a framework, from a Swift UI Testing target in Xcode 7.

I built the .framework (via Carthage, but I'm not sure that's relevant?) and dragged it into the "Link binaries with libraries" section under the Build Phases tab of the UI test target.

But when I try and @import OHHTTPStubs in my .swift test case, Xcode tells me No such module 'OHHTTPStubs'.

This should be simple, what am I missing? Here's the project on Github.

0

There are 0 answers