Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoLinking can generate relative paths in Podfile.lock? #582

Closed
wygkzqa opened this issue Jul 24, 2019 · 2 comments
Closed

AutoLinking can generate relative paths in Podfile.lock? #582

wygkzqa opened this issue Jul 24, 2019 · 2 comments
Labels
question Further information is requested

Comments

@wygkzqa
Copy link

wygkzqa commented Jul 24, 2019

AutoLinking can generate relative paths in Podfile.lock?

I'm using react-native-webview on my project. When I execute pod install, Podfile.lock looks like this

......
DEPENDENCIES
  - React (from `../node_modules/react-native/`)
  - react-native-webview (from `/Users/machao/Desktop/seiue-projects/c3app/node_modules/react-native-webview`)

That's not what I wanted. So, is there any way to generate relative paths? like ../node_modules/react-native-webview

Thanks.

@wygkzqa wygkzqa added the question Further information is requested label Jul 24, 2019
@wygkzqa wygkzqa changed the title AutoLinking can generate relative paths in Podfile.lock AutoLinking can generate relative paths in Podfile.lock? Jul 24, 2019
@thymikee
Copy link
Member

Yup! Please update the @react-native-community/cli to the latest version and you'll see relative paths.

@muthudevendra
Copy link

muthudevendra commented Jul 26, 2019

@thymikee Thank you for the solution. But even after I update the @react-native-community/cli my Podfile.lock still uses relative path. It happens for auto linking libraries RNGestureHandler and RNLocalize. Any solution?

Thanks.

Found the solution: This worked for me after updating @react-native-community/cli
23886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants