一、检测创建的库是否有效
1、使用命令 pod lib lint 时, 出现 unable to find utility "simctl", nota a developer tool or in PATH 错误

解决方案:去xcode设置里面,将Command line Tools设置一下,在Xcode>preferences>Locations里面,设置之后再运行终端即可

2、使用命令 pod lib lint 时,出现警告: The URL () is not reachable

解决方法:忽略警告命令:pod lib lint --allow-warnings

添加pod私有组件,先添加私有库:
pod repo add <索引库名字> <远程库地址>
然后就可以 pod install 了
网友评论