-
Notifications
You must be signed in to change notification settings - Fork 174
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
Fix Carthage warning when building by including in workspace #26
Fix Carthage warning when building by including in workspace #26
Conversation
When this project is built by including it in another workspace, instead of building by command line with `carthage`, using the FRAMWORK_SEARCH_PATH of `$(PROJECT_DIR)/Carthage/Build/iOS` can produce an error, since `$(PROJECT_DIR)/Carthage/Build/iOS` might not exist. To fix this we should use a submodule for our dependencies and include them in the RxKeyboard.xcworkspace. This will allow us to still compile the RxKeyboard library.
Wouldn't compile since we updated our RxSwift required version.
- RxCocoa (>= 3.0) | ||
- RxSwift (>= 3.0) | ||
- RxSwift (3.1.0) | ||
- RxCocoa (3.5.0): |
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.
Any reason to increase all the minimum versions in the Podfile.lock ?
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, I think Podfile.lock is an unrelated change.
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.
Because without it the example won't compile. If you just run pod install
it says it can't meet the requirements of the 3.4.0
that the library requires, while being locked to 3.1.0
.
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.
I have it as two commits. I can remove that commit if necessary. It does need updating though 😄.
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.
Uhm very weird it would require 3.4 , but even if so let's try keep it to the minimum required? 3.5 isn't a requirement here. So besides that I have no problems with this PR
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.
I just remembered that there was #20. I think it makes sense.
Thanks for your contribution!
|
Fixes #25.
This updates the workspace to build with a submodule for RxSwift instead of assuming that the framework will be built to a specific location.
I also updated the Podfile.lock in the Example directory.
I tested this both building by the command line with
carthage
and by including the project directly into a workspace.