-
Notifications
You must be signed in to change notification settings - Fork 41
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
🐛 Fixes #46 Carthage build #47
Conversation
Due to a misconfiguration in the project settings when building using Carthage was failing because the project was unable to find RxSwift dependencies
Generated by 🚫 danger |
@@ -6,7 +6,7 @@ | |||
// Copyright © 2016 Esteban Torres. All rights reserved. | |||
// | |||
|
|||
#import <UIKit/UIKit.h> | |||
#import <Foundation/Foundation.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reason for changing the import here? Supporting multiple targets? Do we even need any of these imports for this to work? Rest looks great !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including UIKit
seemed illogical given that the framework supports all 4 platforms and after the changes I made the macOS
target wasn't compiling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah makes total sense, I just wondered if we even need the Foundation import there to begin with or it would probably work without?
Very interesting yet probably not related to this PR, from the tvOS failed CI on Travis
Worth looking into at some point @esttorhe |
Need to double check if this is present on `RxSwift`
Codecov Report
@@ Coverage Diff @@
## master #47 +/- ##
=======================================
Coverage 86.82% 86.82%
=======================================
Files 5 5
Lines 258 258
=======================================
Hits 224 224
Misses 34 34 Continue to review full report at Codecov.
|
I don't know the CLANG_WARNIG_INFINITE_RECURSION flag but the fact it was disabled doesn't just silences the warning instead of taking care of the root cause? Or that would be a separate ticket? |
@freak4pc I left the flag as it was originally for now. As stated on the commit message I need to dig deeper and see how/if |
@esttorhe AFAIK that recursion error is a warning within RxSwift about code using RxSwift, e.g. it does seem like it is something within RxViewModel but its interesting it only occurred when building on tvOS. If I have a few minutes later this week I'll try building it with the flag and see if I can find anything funky :) |
@freak4pc you might be right :) I'm going to check this week and see if I can find the root cause of the issue (given that Thanks 😄 |
Bumped `RxSwift` to latest version and re-enabled the redundancy check flag
Looks like its passing (for now) going to merge and will keep monitoring this issue. Sadly Will keep try locally but i'm going to merge this now |
Sounds good. I'll also try keeping an eye for this issue. |
Due to a misconfiguration in the project settings when building using
Carthage
was failing because the project was unable to findRxSwift
dependencies