New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RxTest fails to build in Xcode 7.3-beta2 #472
Comments
I got a fix in 60b4b96, but that breaks the builds on Xcode 7.2. I'm not sure if there's a workaround or this will have to be a new release that supports Swift 2.2 only. |
Hi @koke , Thnx for reporting this. I'm hoping this is just an Apple but and they will fix this soon :(. I'm not sure it would be a good idea to pull this in immediately since it you are telling me this will break on Xcode 7.2, and this is the released version. Let's monitor this and see what will Apple do here. If they release a version that requires |
@kzaher the xcode/7.3 branch gets further into the build process when using Carthage (sorry, forgot to specify this), but still fails:
|
¯_(ツ)_/¯ I've tried to support Xcode 7.3, but since even released 7.2.1 version still has horribly buggy compiler, it's pointless at this stage. I'm waiting until they make transition from catastrophically unstable compiler to just the usually horrible one (when they release it) :) Try building just Debug configuration. I believe Xcode compiler just fails when it tries to optimize the code. |
@Bogidon if you guys can file a radar, that would be 👍 |
Seems like this is still an issue after today's release |
XCTAssertEqual(leftEquatable, rightEquatable, file: file, line: line) Cannot invoke 'XCTAssertEqual' with an argument list of type '([AnyEquatable<Event>], [AnyEquatable<Event>], file: String, line: UInt)' |
It still fails to build for me, but for a different reason: If I try to open the project by hand, and it complains about the same issue. If it matters, I run |
I do. I tried clearing the Carthage cache as well. If I run |
... and just to be clear, you've removed both |
Just to be clear... no. I removed the latter first and the build failed. Then I removed the former, and the build failed. Removing both at once did the trick! Thanks a bunch! I guess this is the solution, at least for my particular issue. |
Ok, glad this was a simple solution :) Weird, but simple :) |
I still get the same error:
with XCode 7.3
i tried updating to RxSwift latest version 2.3.1 but got this error upon pod install:
i also tried not specifying version numbers in PodFile with no success |
Your Podfile lists RxSwift at 2.2 but RxCocoa at 2.0. You need all versions to be the same (for RxTests as well). |
i changed all to 2.0 but still get the same error |
You need to use 2.3.1 with Xcode 7.3 and Swift 2.2. Previous versions of RxSwift won't compile correctly. |
Hi @idanhaviv , problems seems to be in
when it should be
|
Hi @kzaher, if it was 2.2 while i have 2.3.1 should it work fine? anything i can do besides open an issue on Moya-ObjectMapper? |
Running the test suite (or using the RxTest pod) throws a couple build errors when using Xcode 7.3 beta 2
It seems the
file
parameter onXCTAssertEqual
changed fromString
toStaticString
in apple/swift#888The text was updated successfully, but these errors were encountered: