Skip to content

Podspec file should be constant #17

@johanblumenberg

Description

@johanblumenberg

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" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions