-
Notifications
You must be signed in to change notification settings - Fork 150
App crashes because of missing symbols, using RxSwift 3.3.0 #81
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
App crashes because of missing symbols, using RxSwift 3.3.0 #81
Conversation
|
I think you're missing something. The last actual code change on this library was in January from the commit log I'm seeing which is way before 3.3.0 so I hardly believe that is the minimal version. I'll try taking a look but sometimes the missing symbols issue is related to stuff like build cache and derived data so you might want to try and clear those in the meanwhile. |
|
I cleaned all the build cache and derived data and then tried to build it but the same error still occurred. I looked deeper at those errors and found something which might be the cause. In latest RxSwift release, those errors below occur because of the added parameter to the method Before (release 3.2.0)func `do`(onNext: ((E) throws -> Void)? = nil, onError: ((Swift.Error) throws -> Void)? = nil, onCompleted: (() throws -> Void)? = nil, onSubscribe: (() -> ())? = nil, onDispose: (() -> ())? = nil)
-> Observable<E>After (release 3.3.0) func `do`(onNext: ((E) throws -> Void)? = nil, onError: ((Swift.Error) throws -> Void)? = nil, onCompleted: (() throws -> Void)? = nil, onSubscribe: (() -> ())? = nil, onSubscribed: (() -> ())? = nil, onDispose: (() -> ())? = nil)
-> Observable<E>This is kind of huge breaking change for RxSwift and Action users and it is sure that users with RxSwift ~> 3.3.0 will not be able to use the current released one, so I think it would be a good idea to release this change as Action If you find any other reasons causing those errors or something, please let me know. Thank you! |
|
Again I'm not 100% sure why that would be breaking since it's an optional argument and would just be skipped. Let me do a quick test later to make sure, but even if that's the change, we should limit to minimum 3.2.0 and not 3.3.0 (the lower the better) |
|
Yes! Thanks for doing the test! I agree with you about that |
|
Hmm, interesting. Agreed, let's test this. I don't have time this week but ping me if I can be of help. |
|
I'm running into this issue as well. I have to manually set Carthage dependency to use RxSwift 3.2 for Action to work properly... |
|
@Lamson I forked Action and updated RxSwift. yuzushioh#2 |
|
Cool, @yuzushioh can you update this PR? OR should it be merged now? I'll leave the decision up to you! |
|
Hi @ashfurrow |
@freak4pc After I updated RxSwift version to ~> 3.3.0, I came across this Error below that two of the symbols existed in RxSwift 3.0 are missing from 3.3.0. Apps crash when launching. There were apparently some breaking changes in RxSwift, even though it was a minor update. (I'm not sure this issue should be reported to Action or RxSwift)
Because all the Action users will have the same issue when they update RxSwift to 3.3.0, I think Changing to
~> 3.3.0would probably be great.