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

Can't install pod #25

Open
kongen84 opened this issue Dec 10, 2020 · 2 comments
Open

Can't install pod #25

kongen84 opened this issue Dec 10, 2020 · 2 comments

Comments

@kongen84
Copy link

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.

@Billydubb
Copy link

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)

@keithpickering
Copy link

patch-package still seems to be a good solution here as of 2024

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

No branches or pull requests

3 participants