Refer to the article

1. Pod lib Lint (checking local pod) reported an error

[!]  DemoPodSpecs did not pass validation, due to 2 warnings (but you can use --allow-warnings to ignore them). You can use the --no-clean option to inspect any issue.Copy the code

Solution: use the pod lib lint –allow-warnings command