Description
See this line:
|
s.source = { :http => 'file:' + __dir__ } |
It refers to __dir__, which means that the podspec which is generated on each developers machine will look different, since it contains the full path to the package inside node_modules.
This means that each developer will generate a different Podfile.lock file, since the hash of the Pod will contain the local folder.
Solution
Most other react native packages seem to put the github URL as the source:
s.source = { :git => "https://github.com/regulaforensics/react-native-document-reader" }
Description
See this line:
react-native-document-reader/RNDocumentReaderApi.podspec
Line 14 in dc7a708
It refers to
__dir__, which means that the podspec which is generated on each developers machine will look different, since it contains the full path to the package insidenode_modules.This means that each developer will generate a different
Podfile.lockfile, since the hash of the Pod will contain the local folder.Solution
Most other react native packages seem to put the github URL as the source: