2.[!] podRoutes1 did not pass validation, due to 1 warning (but you can use `--allow-warnings` to ignore it)
// 忽略警告
pod lib lint --allow-warnings
3.[!] The podspec does not validate.
原因很多,通过追加--verbose参数查看具体原因
// 在命令行后面添加 --verbose
pod trunk push SJFormatTextField.podspec --verbose
// 如果处在错误,则会详细注明,例如
warning: Could not find remote branch 0.0.1 to clone.
fatal: Remote branch 0.0.1 not found in upstream origin
eg:
// ERROR | [iOS] file patterns: The `source_files` pattern did not match any file.
确认source_files的匹配是否成功,可以用*.*模糊匹配