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.
解决
- sudo gem update cocoapods
成功:
参考:https://stackoverflow.com/questions/52742003/cocoapods-cant-find-simulators-pod-repo-push-fails
如果您发现本文对你有所帮助,如果您认为其他人也可能受益,请把它分享出去。