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

I am trying to depend on OHHTTPStubs as a framework, on the Swift UI Test target in Xcode 7.

I built .framework (via Carthage, but I'm not sure which is relevant?) And dragged it into the “Linking Binary Files to Libraries” section of the “Phase Assembly” tab of the target user interface test program.

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

It should be just what am I missing? Here is a project on Github .

+6
source share

Source: https://habr.com/ru/post/989390/


All Articles