-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Xcode 8.3 broke RxSwift releases #1171
Comments
By some miracle, it looks like all of the Swift 3.1 compiler bugs have affected only unit tests projects :) |
We've detected two Swift 3.1 compiler anomalies that were affecting this project. We've upgraded travis to Xcode 8.3 and will probably release a small patch release later this week with unit tests officially passing with Xcode 8.3 on build server, just to be on the safe side. We will also attach a binary in the upcoming patch release. We've done what we can to make sure the project is compatible with Swift 3.1 compiler, but there are obviously some issues regarding compiler stability in release configuration. STR 1 final class LongNight: Error {
}
LongNight() as Error as NSError // <-- runtime crash STR 2 class Test {
init() {
print("Created")
}
deinit {
print("This is never called")
}
}
for _ in [1, 2] {
let e0 = Test()
let e1 = Test()
for e in [e0, e1] {
}
} |
I found a Swift3.1 bug between Error and NSError. Although it is not directly related, I hope to it help you. |
Hi @tarunon , It would be great if you could also report that other one. |
The problems occur in Release builds when optimizations are turned on.
It looks like Debug versions work ok so far, but more investigations are needed.
The build server didn't detect issues because it's still running compiler 3.0.x version.
Plan:
We'll try to create some workarounds :( What a nightmare.
The text was updated successfully, but these errors were encountered: