I noticed that when I install native libraries in React Native 0.61, they do not add lines to my Podfile automatically, but when I run pod install
, it seems to link the libraries anyway. Does anyone know how this works? Do I need to add lines to my Podfile anymore?
Asked
Active
Viewed 878 times
4

RNdev
- 953
- 1
- 8
- 26
1 Answers
3
When you create a new project and react-native version >=60 , this line is automatically added in pod file (AutoLinking)
# example/ios/Podfile
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
This is path of script . When you add new library , no lines are added to my Podfile but you have to run "pod install" so that script file can run and install new pod files .

Mehran Khan
- 3,616
- 1
- 13
- 10