vishaldhanotiya / react-native-modal-picker

This is a cross-platform picker with search bar for react native support both platform IOs and android
https://www.npmjs.com/package/rn-modal-picker
45 stars 19 forks source link

xcode build fails #3

Closed deflorilemarului closed 4 years ago

deflorilemarului commented 5 years ago

ios/build/Build/Intermediates.noindex/RNModalPicker.build/Debug-iphonesimulator/RNModalPicker.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 3: ../node_modules/react-native/scripts/react-native-xcode.sh: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code

vishaldhanotiya commented 5 years ago

Hello, @deflorilemarului I have tested this library in IOs. it's working fine Please clear Xcode cache and retry it may solve your problem

mtahir08 commented 5 years ago

I cleaned Xcode cache but still I see above issue. "react-native": "0.59.5",

vishaldhanotiya commented 5 years ago

Hello @mtahir08 and @deflorilemarului I think this issue generate because of react native version. please check following answer

https://github.com/facebook/react-native/issues/14935#issuecomment-314160539 https://github.com/facebook/react-native/issues/14935#issuecomment-314679422 https://github.com/getsentry/react-native-sentry/issues/141

SnakeHead commented 5 years ago

I have the same issue, fails to build. Using RN 0.57.8

ririlya94 commented 5 years ago

same here.. it's not working for me.. for my case, whenever you install the rn-modal-picker and the app is existed in ios simulator, then this problem wont exist. It only happens whenever i have to reinstall the app (and the rn-modal-picker is already installed).. 1st and 2nd solution from @vishaldhanotiya didn't work for me.. The third one i'm still trying.. I'm using RN 0.54.1..

winadiw commented 5 years ago

same here, build issue. RN: 0.59.9

majidnasirinejad commented 5 years ago

same problem here. not working on iOS. any suggestion @vishaldhanotiya ? I tried the other solutions but didn't work.

/Users/e/Library/Developer/Xcode/DerivedData/EO-heyazngfkjqikeapphqizgzjtago/Build/Intermediates.noindex/RNModalPicker.build/Debug-iphonesimulator/RNModalPicker.build/Script-00DD1BFF1BD5951E006B06BC.sh: line 3: ../node_modules/react-native/scripts/react-native-xcode.sh: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code

alfathdirk commented 4 years ago

try react-native unlink rn-modal-picker and re-run react-native run-android without remove the package..hope this help

vishaldhanotiya commented 4 years ago

Hello @ALL

Can you please check latest version of this npm package. we test this package with new and old both version it is working fine. if any one if any issue let me know i will try to coordinate with you

npm i rn-modal-picker@0.2.7

Happy coding...:)