facebookarchive / ios-snapshot-test-case

Snapshot view unit tests for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 2.2 compilation error of test target

vandadschibsted opened this issue · comments

Swift 2.2 and Xcode 7.3, changed the definition of XCTFail function which is being used in SwiftSupport.swift file so that we are getting this error:

Pods/FBSnapshotTestCase/FBSnapshotTestCase/SwiftSupport.swift:63:30: Cannot convert value of type 'String' to expected argument type 'StaticString'

This is rendering the framework useless to us at the moment since we cannot even build our test target!!! Could this please be fixed as soon as possible?

Yeah same problem for us. We are stuck now 👎 can't build our test target!

I think there's already a PR #150 up for this.

And it seems like this is part of Niklas's issue here: #148

This should now be fixed with #152, can someone confirm?

@nscoding Yeah, that fix is in #152

@joeblau thanks for confirming.