RxSwiftCommunity / RxKeyboard

Reactive Keyboard in iOS
MIT License
1.6k stars 176 forks source link

Carthage update error #42

Closed noppefoxwolf closed 6 years ago

noppefoxwolf commented 6 years ago

Swift version

Apple Swift version 4.0 (swiftlang-900.0.65.2 clang-900.0.37) Target: x86_64-apple-macosx10.9

Carthage version

0.26.2

Cartfile

github "RxSwiftCommunity/RxKeyboard" ~> 0.7

console

$carthage update --platform iOS

result

*** Skipped building RxKeyboard due to the error: Dependency "RxKeyboard" has no shared framework schemes for any of the platforms: iOS

If you believe this to be an error, please file an issue with the maintainers at https://github.com/RxSwiftCommunity/RxKeyboard/issues/new

noppefoxwolf commented 6 years ago

When use --no-use-binaries options, returned same result too.

devxoul commented 6 years ago

Carthage is supported from 0.7.0. Can you try with ~> 0.7 instead? (without --no-use-binaries)

noppefoxwolf commented 6 years ago

Sorry, I fixed my post. I have same issue on version 0.7.

noppefoxwolf commented 6 years ago

I made a PR that added a shared scheme. If you need, please merge this.

https://github.com/RxSwiftCommunity/RxKeyboard/pull/43

devxoul commented 6 years ago

I think the actual error is:

*** Skipped installing RxSwift.framework binary due to the error:
    "Incompatible Swift version - framework was built with 4.0 (swiftlang-900.0.65.2 clang-900.0.37) and the local version is 4.0 (swiftlang-900.0.65 clang-900.0.37)."

Let me check this.

devxoul commented 6 years ago

@noppefoxwolf, I updated a prebuilt binary. Could you please try again?

$ rm -rf ~/Library/Caches/org.carthage.CarthageKit
$ carthage update --platform iOS
noppefoxwolf commented 6 years ago

It's worked! Thank you for your nice work.