问题现象描述:在执行pod spec lint CZFScrollAdView.podspec 命令时, 出现以下图片的错误, 这个问题主要是因为我们可能使用了XCode10以上的版本,然后我们的cocoapods版本太低了,不够完全支持,升级一下或重新安装一下cocoapods
Encountered an unknown error (Could not find a `ios` simulator (valid values: ). Ensure that Xcod...

具体针对这个问题的解决办法如下:

首先需要将刚才提交的tag进行删除

  1. git tag -d 0.0.1 // 删除本地tag
  2. git push origin -d tag 0.0.1 // 删除远程仓库的tag
  3. sudo gem install cocoapods // 重新安装cocoapods框架
成功样子如下哈:

Encountered an unknown error (Could not find a `ios` simulator (valid values: ). Ensure that Xcod...

相关文章:

  • 2022-12-23
  • 2021-12-13
  • 2021-12-05
  • 2022-01-30
  • 2021-12-04
  • 2021-06-02
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-05-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2021-12-21
相关资源
相似解决方案