nstudio / nativescript-checkbox

NativeScript plugin for checkbox UI component
Other
119 stars 56 forks source link

Missing BEMCheckBoxDelegate #37

Closed Dragomir-Ivanov closed 7 years ago

Dragomir-Ivanov commented 7 years ago

It seems that BEMCheckBox.d.ts and platforms/ios/ has disappeared since 2.0.0 ( present in 2.0.0 ), which breaks the iOS runtime.

kilka commented 7 years ago

I am also facing this issue. Plugin was working fine on 3.0 and then I did a reinstall of my node_modules and now I am getting BEMCheckBoxDelegate is missing errors.

kilka commented 7 years ago

Just an update it looks like it's just the plugin repo that is messed up. If you clone from github or download from https://github.com/bradmartin/nativescript-checkbox/releases it seems to be working.

triniwiz commented 7 years ago

@kilka something probably went wrong with 2.1.x version you can try using 2.0.0 for now

NathanWalker commented 7 years ago

A fix is coming for this today.

NathanWalker commented 7 years ago

@kilka @Dragomir-Ivanov 2.1.4 published now which should fix this - can you guys verify? If all good, you can close this - thank you for reporting!!

Dragomir-Ivanov commented 7 years ago

Thank you @NathanWalker , However I get this now: [!] Unable to satisfy the following requirments:

Is there any reason for this requirement? In 2.0.0 Podfile has: pod 'BEMCheckBox' In 2.1.4 Podfile has: pod 'BEMCheckBox', '~> 1.4.1'

NathanWalker commented 7 years ago

It will ensure you get the latest version of the pod :) Do this in your project:

rm -rf hooks node_modules platforms
sudo rm -rf ~/.cocoapods/repos/master
pod repo update
npm i

Then all should be good.

NathanWalker commented 7 years ago

Btw, you will only need to do that once.

sudo rm -rf ~/.cocoapods/repos/master

clears the global CocoaPod specs, then pod repo update simple fetches latest specs. This is generally needed every couple months or as you run into stale specs with projects. But after doing that then you won't need to do that for the latest version of the checkbox pod ever again in this case.