ismnoiet / react-native-range-slider

The high-quality native iOS range slider for react native.
64 stars 10 forks source link

Could not load on Xcode #1

Closed dreamdev21 closed 6 years ago

dreamdev21 commented 6 years ago

I have imported this following on doc, but Xcode not loading RnageSlider.xcodeproj

ismnoiet commented 6 years ago

Can you tell me which version of Xcode you're using and which error you're getting.

dreamdev21 commented 6 years ago

Environment: OS: macOS Sierra 10.12.6 Node: 8.11.2 Yarn: Not Found npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: Not Found

Packages: (wanted => installed) react: 16.0.0 => 16.0.0 react-native: ^0.55.2 => 0.55.4 capture

ismnoiet commented 6 years ago

This is because I built the module using Xcode 9.3, I solved that issue. please reinstall the latest version 0.0.6(published recently) it should fix this problem for you.

If you run into other issues related to this module don't hesitate to open an issue for that.

And don't forget to star the repo if you like the module and think it is useful, so I keep open sourcing other cool stuff :)

dreamdev21 commented 6 years ago

Thank you for your quick update. Xcode issue is solved but still this error is here. simulator screen shot - iphone 7 plus - 2018-06-18 at 08 58 10

ismnoiet commented 6 years ago

You're getting this error because I assume you already have prop-types installed(recommended by facebook also) on your project dependencies. to solve that just install that module using:

npm install --save prop-types

If you still have issues after installing the module let me know.

dreamdev21 commented 6 years ago

Tried above solution, unfortunately no succeed. Issue is not solved.

ismnoiet commented 6 years ago

ok, for now try to open node_modules/react-native-range-slider/index.js and comment the propType portion of the code :

RangeSlider.propTypes = {....}

and let me know if it is working.

dreamdev21 commented 6 years ago

It works!!! Will wait updated version here. Thanks.

ismnoiet commented 6 years ago

Great, will update the version soon. just don't forget to 🌟 the repo.

ismnoiet commented 6 years ago

@webmasterdragon Please update to the latest version(currently 0.0.7) and let me know if it is working correctly.

dreamdev21 commented 6 years ago

Now it's working. Hope this one is become top react-native range slider package.