RxSwiftCommunity / RxKeyboard

Reactive Keyboard in iOS
MIT License
1.61k stars 175 forks source link

Runtime error has occurred in binary downloaded using carthage. #77

Closed yurimingo closed 6 years ago

yurimingo commented 6 years ago

I tried to run a application then I got a following error message.

dyld: Library not loaded: @rpath/RxCocoaRuntime.framework/RxCocoaRuntime Referenced from: /Users/yuri/Library/Developer/CoreSimulator/Devices/~~~/Yuri.app/Frameworks/RxKeyboard.framework/RxKeyboard Reason: image not found

It seems RxKeyboard refers RxCocoaRuntime.

freak4pc commented 6 years ago

It should refer to RxCocoa so that isn’t the issue. Can you try on a clean project ?

yurimingo commented 6 years ago

I tried again but it doesn't work.

In my understanding, carthage doesn't have RxCocoaRuntime.framework because It's included in RxCocoa.framework. This is a similar issue to "https://github.com/ReactorKit/ReactorKit/issues/17#issuecomment-305109741".

I think TravisCI is supposed to remove RxCocoaRuntime.framework because .travis.yml in this project says that. https://github.com/RxSwiftCommunity/RxKeyboard/blob/c06da88864e9281225ee5965c80b70e3a4125918/.travis.yml#L53

freak4pc commented 6 years ago

@yurimingo Could you please try RxKeyboard 0.9.1 that was just released?

yurimingo commented 6 years ago

Thank you for the updates. but i could not find 0.9.1 in https://raw.githubusercontent.com/RxSwiftCommunity/RxKeyboard/master/RxKeyboard.json . so could you please update this file?

freak4pc commented 6 years ago

Updated. Let me know if it looks better now.

yurimingo commented 6 years ago

It works! Thank you for your prompt reply!