The NAME.podspec specification does not validate

私有Spec Repo提交podspec时出现

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
The NAME.podspec specification does not validate


5A957964-08FB-48E7-829E-45AF74FFB301.png

A221B1E1-08A7-4756-B5DC-7592E34F4FDE.png

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

47FCB0B9-CF8C-450C-A2C5-97CF3267EF4D.png

执行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings

执行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings

执行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings

你可能感兴趣的:(The NAME.podspec specification does not validate)