-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple xcodes lint error #26
Comments
Sounds like a solid suggestion. I am going to move to fourflusher plugin. |
Could you please let me now what is the status on this one? I have now installed xcode 11.5, which used to be the beta I had problems with, but it didn't help.
It asks me to ensure I have simulators, which I of course do. I still can not push to any of my pods, and I really need to. Could you please-please address the issue? |
Turns out this was fixe about a year ago, but in my case earlier version of fourflusher was used in spite of my updating cocoapods to latest versions multiple times during the last year. So sorry about that. |
Report
What did you do?
pod trunk push
What did you expect to happen?
My pod to update to version 0.0.2
What happened instead?
pod trunk push
[!] Found podspec
MyPod.podspec
Updating spec repo
trunk
Validating podspec
-> MyPod (0.0.2)
- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a
ios
simulator (valid values: ). Ensure that Xcode -> Window -> Devices has at least oneios
simulator listed or otherwise add one.) during validation.[!] The spec did not pass validation, due to 1 error.
CocoaPods Environment
Stack
Installation Source
Plugins
I am aware there are a lot of these out here (like this one CocoaPods/CocoaPods#8163), but they all seem to be closed, and the solution does not help me. I also know that the issue is on my side, because I had two xcodes installed at one time, and it won't reproduce for you. Other people on my team can update the pod, just not me. Since I had two xcodes (I deleted one now) fourflusher (or whoever is responsible for finding the simulator) keeps insisting on using some non-existant beta simulator and consequently my
trunk push
fails. I selected the correct xcode through xcode-select, which used to help, but it didn't this time.And here is my feature request: Could you please make it so that if fourflusher can't find a simulator it wants, it then proceeds to use another one? Or that it pays attention to selected xcode version and doesn't try to use beta simulators in the first place? Or maybe so that I can pass the correct simulator to use manually with an argument or something. Thank you for taking time to read this, hope to hear from you soon, sorry if it's already been suggested or is stupid/impossible.
The text was updated successfully, but these errors were encountered: