1. pod lib lint (检查本地pod)报错
[!] 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.
-
解决办法:用 pod lib lint --allow-warnings 命令
2. 执行 pod trunk push JCZJTest.podspec --verbose
报错如下:
[!] You need to run
pod trunk register
to register a session first.
-
解决方法:
执行
pod trunk register xxx@qq.com ‘manongchenzai’ --description='macbook Air'
说明: pod trunk register + 自己邮箱 + 名字 + 描述
网友评论