-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
xcodebuild: error: Unable to find a destination matching the provided destination specifier: #7454
Comments
Seems like a simulator is missing from your setup to execute the build. I do not think this is a cocoapods issue. |
There are lots of simulators installed as shown in the output of |
Have you tried It will be very hard for me to debug with the current info as it definitely seems some specific configuration issue on your machine. Definitely not ruling out an actual CocoaPods bug that we can fix or make better :) |
Thanks, so I was trying around a bit.
while running it then without the destination parameter works perfectly fine:
the funny thing is, the device in question ins showing up in
I remember that I once removed the check-marks in Xcode->Window->Devices->Simulators for all devices but iphone SE and iphone X. so i tried re-checking them, but the xcodebuild error and available devices stayed the same.
So, you are probably right, that there is something wrong with my setup. |
Actually uncertain to me for the last question and part. It predates me. I am going to close this issue, but please do let me know if there is an issue here we can consider making better with CocoaPods |
@cyrus86 hi man, did you solved this problem ? |
@Tawfikk not directly, no. I used kind of a hacky workaround as described in my post above. |
@cyrus86 THANKS for the tip. I also deleted all iOS devices and add the new iPhone se, and it's allowed pass validate my repo. |
I had the problem with tvOS and had to delete two 11.2 tvOS simulators, leaving only the two 11.4 tvOS simulators. Thanks @cyrus86 |
|
I'm fixing this problem by removing all simulators which were not marked "Show as run destination"
|
Anyone found a workaround for this without deleting simulators? I'm getting this issue on Xcode 14, seems it's an issue with Fourflusher. |
I was receiving this error as well despite having all of my simulators up to date and present. Turns out the version of Cocoapods I was running didn't support the latest devices. Updating to 1.12.0 resolved the issue
|
Report
What did you do?
Run
pod lib lint
on a freshly created podWhat did you expect to happen?
usual warnings and a passing check
What happened instead?
following error message:
There is no actual specifier in the error message, so I'm thinking cocoapods doesn't provide xcodebuild with one. I do have the default set of simulators installed, checked with
xcrun simctl list
CocoaPods Environment
Stack
Installation Source
Plugins
Project that demonstrates the issue
happens with any pod lib I try to create
The text was updated successfully, but these errors were encountered: