美文网首页
cocoapods 做库的时候报如下错误Could not fi

cocoapods 做库的时候报如下错误Could not fi

作者: wangyu2488 | 来源:发表于2019-06-19 10:55 被阅读0次

2019年6月19日
1.cocoapods 做库的时候报如下错误Could not find a ios simulator解决

- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values: com.apple.coresimulator.simruntime.ios-11-2, com.apple.coresimulator.simruntime.ios-8-1, com.apple.coresimulator.simruntime.ios-9-0, com.apple.coresimulator.simruntime.ios-9-3). Ensure that Xcode -> Window -> Devices has at least one `ios` simulator listed or otherwise add one.

解决

  1. sudo gem update cocoapods
    成功:
    image.png
    参考:https://stackoverflow.com/questions/52742003/cocoapods-cant-find-simulators-pod-repo-push-fails

如果您发现本文对你有所帮助,如果您认为其他人也可能受益,请把它分享出去。

相关文章

网友评论

      本文标题:cocoapods 做库的时候报如下错误Could not fi

      本文链接:https://www.haomeiwen.com/subject/yashqctx.html