RxSwift: RxTest fails to build in Xcode 7.3-beta2

Running the test suite (or using the RxTest pod) throws a couple build errors when using Xcode 7.3 beta 2

XCTest+Rx.swift:67:7: Cannot invoke ‘XCTAssertEqual’ with an argument list of type ‘([AnyEquatable<Event<T>>], [AnyEquatable<Event<T>>], file: String, line: Uint)’ XCTest+Rx.swift:95:7: Cannot invoke ‘XCTAssertEqual’ with an argument list of type ‘([AnyEquatable<Recorded<Event<T>>>], [AnyEquatable<Recorded<Event<T>>>], file: String, line: Uint)’

It seems the file parameter on XCTAssertEqual changed from String to StaticString in https://github.com/apple/swift/pull/888

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

Seems like this is still an issue after today’s release