补充上一篇上传代码到CocoaPods库第7步报错修改
2019-10-10 本文已影响0人
LiuffSunny
通过pod spec lint 检查命令报这个错误。
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find aIOS simulator (valid values: ). Ensure that Xcode -> Window -> Devices has at least oneIOSsimulator listed or otherwise add one.) during validation.
解决办法:升级更新pod就好了,亲测有效
CocoaPods 1.8.3 is available.
To update use: gem install cocoapods
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.8.3
使用 gem install cocoapods 命令升级到最新版本,就不再报错了