Closed fawad-khalil closed 5 years ago
So the .podspec
file was being generated successfully but the address in <_project-root_>/ios/Podfile
was being written as ../node_modules/react-native-toasty
whereas the .podspec
was being generated into ../node_modules/react-native-toast/ios
. So I fixed the address and the pod install
completed successfully.
I have install react-native-toasty using
"react-native-toasty": "git+https://github.com/prscX/react-native-toasty.git"
in package.json as indicated by this.Pod install
succeeds after the npm installation. Then I doreact-native link react-native-toasty
and succeeds. But then if I docd ios && pod install
from the root of react-native project, it fails with the following error:Environment: react: 16.8.6 react-native: 0.60.4 react-native-toasty: git+https://github.com/prscX/react-native-toasty.git