react-native-measure-text icon indicating copy to clipboard operation
react-native-measure-text copied to clipboard

Can't install pod

Open kongen84 opened this issue 4 years ago • 2 comments

When I run a pod install I get the following error:

[!] The `RNMeasureText` pod failed to validate due to 1 error:
    - ERROR | attributes: Missing required attribute `homepage`.
    - WARN  | source: The version should be included in the Git tag.
    - WARN  | description: The description is equal to the summary.

The package is not usable.

kongen84 avatar Dec 10 '20 09:12 kongen84

In the RNMeasureText.podspec file inside of node_modules/react-native-measure-text you have to add a url for the s.homepage field. For example s.homepage = "https://github.com/author/RNMeasureText.git"

To persist this change I suggest using patch-package (https://github.com/ds300/patch-package)

Billydubb avatar Jan 11 '21 17:01 Billydubb