CocoaPods / fourflusher

A library for interacting with Xcode simulators.
MIT License
32 stars 15 forks source link

Multiple xcodes lint error #26

Closed f3dm76 closed 3 years ago

f3dm76 commented 4 years ago

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)

[!] The spec did not pass validation, due to 1 error.

CocoaPods Environment

Stack

   CocoaPods : 1.9.1
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15.4 (19E287)
       Xcode : 11.4.1 (11E503a)
         Git : git version 2.22.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : ActivityIndicatorView - git - git@github.com:exyte/ActivityIndicatorView.git @ d8c3463e70761c3145213ca207fb7d6857910f0b

               ConcentricOnboarding - git - https://github.com/exyte/ConcentricOnboarding.git @ cae6c2c9571e09a4c279b4345a0da4eeadd740da

               ExytePopupView - git - git@github.com:exyte/PopupView.git @ 74e04cb93708b7e353370f0ddce46474bef107c4

               FloatingActionButton - git - git@github.com:exyte/FloatingActionButton.git @ 775df71ca04c88e49d5b80ee25a54ecf0031586c

               FloatingButton - git - git@github.com:exyte/FloatingActionButton.git @ 775df71ca04c88e49d5b80ee25a54ecf0031586c

               master - git - https://github.com/CocoaPods/Specs.git @ 1f9c546eb319925c434b74b0bb6bea5cc6515852

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.4.0
cocoapods-try         : 1.1.0

I am aware there are a lot of these out here (like this one https://github.com/CocoaPods/CocoaPods/issues/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.

dnkoutso commented 4 years ago

Sounds like a solid suggestion. I am going to move to fourflusher plugin.

f3dm76 commented 4 years ago

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.

- ERROR | [iOS] unknown: Encountered an unknown error (Could not find a `ios` simulator (valid values: ). Ensure that Xcode -> Window -> Devices has at least one `ios` simulator listed or otherwise add one.

It asks me to ensure I have simulators, which I of course do.

Screenshot 2020-06-03 at 15 30 09

I still can not push to any of my pods, and I really need to. Could you please-please address the issue?

f3dm76 commented 3 years ago

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.