私有Spec Repo提交podspec時(shí)出現(xiàn)
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設(shè)置里面,將Command line Tools設(shè)置一下,在Xcode>preferences>Locations里面,設(shè)置之后再運(yùn)行終端即可
47FCB0B9-CF8C-450C-A2C5-97CF3267EF4D.png
執(zhí)行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings
執(zhí)行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings
執(zhí)行 pod repo push 本地repo名 NAME.podspec --verbose --use-libraries --allow-warnings


