I am using react-native to build an ios app. After updating to macOS Big Sur - Version 11.6 a couple of days ago, my build started failing when using VS Code. I am getting this error-
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:5F135958-0789-4409-9C64-6D3939A54B03 }
Available destinations for the "MediLab" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:7C6CDA97-38E3-591E-A991-8C4580349A5C }
{ platform:iOS Simulator, id:24E5BDF6-3EE5-4232-9E39-EBF4B48A9A2E, OS:15.0, name:iPad (9th generation) }
{ platform:iOS Simulator, id:FF4BFEEB-3DA8-4BB3-93E6-E3889C94F556, OS:15.0, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:624A99D1-6A8E-440A-AB96-3F7C0828C701, OS:15.0, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:9C8A5850-F1D0-4B81-B7BE-2242BC3A1DB3, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:2B47305A-7F97-44AE-8E53-30456CF02FBC, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:EB928DCA-ABCD-414C-BB02-40EFD923CAE8, OS:15.0, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:D698CCA5-FC4D-45D5-BE74-C98192FC8650, OS:15.0, name:iPhone 8 }
{ platform:iOS Simulator, id:03CB5C63-8C0D-41ED-93D8-7392857AC91B, OS:15.0, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:01B1CE40-40DB-49BE-BE36-612273AFEDAD, OS:15.0, name:iPhone 11 }
{ platform:iOS Simulator, id:AE07F64A-5E12-4B63-A25A-AB4FD4720BEB, OS:15.0, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:7A600365-1E5E-471E-885E-A876FBC3306D, OS:15.0, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:3B2E15CF-E82B-491C-A122-D9DAC5DF73F2, OS:15.0, name:iPhone 12 }
{ platform:iOS Simulator, id:B84AB24A-5C79-4CD4-9215-1241C076D17C, OS:15.0, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:AF51857B-7058-414D-85AF-3490D2ABDC7C, OS:15.0, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:4E076AEB-09CF-4756-A46C-584ECE6AC893, OS:15.0, name:iPhone 12 mini }
{ platform:iOS Simulator, id:04C60394-42EB-4608-89CC-938089C4D603, OS:15.0, name:iPhone 13 }
{ platform:iOS Simulator, id:6BCA77F8-E06E-48ED-A026-523DE7B7F675, OS:15.0, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:6D5D45F3-F37B-435B-B052-A8C48CA4F13B, OS:15.0, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:53FE77C0-E457-4C9A-84D7-5F1BF39CD141, OS:15.0, name:iPhone 13 mini }
{ platform:iOS Simulator, id:D0495A2D-777E-4968-AE0E-42F48B9C3894, OS:15.0, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:812D39A9-9A83-4593-BC12-B6D301457727, OS:15.0, name:iPod touch (7th generation) }
Ineligible destinations for the "MediLab" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
I have ios 14.4 simulator installed, not sure why xcode can only find ios 15 ones. When I use xcrun simctl list devices
, I am able to see all the simulators
== Devices ==
-- iOS 14.4 --
iPhone 8 (E1F1994A-43AC-4E65-B41B-73C283DB32E9) (Shutdown)
iPhone 8 Plus (0137E0F6-8A70-4E03-A80D-67DE5C468F0D) (Shutdown)
iPhone 11 (AAF07D00-26ED-4682-A2A3-DA814569DE61) (Shutdown)
iPhone 11 Pro (946C92CA-E0F2-438B-9C0D-CC260AEB8BFE) (Shutdown)
iPhone 11 Pro Max (277145FB-E074-4707-ADEB-0FDC28EB3978) (Shutdown)
iPhone SE (2nd generation) (3ACCC236-DACA-4525-8AE7-2E9E480333DE) (Shutdown)
iPhone 12 mini (BDE73143-8ECB-440B-A3F1-BD6F36D47C6B) (Shutdown)
iPhone 12 (5F135958-0789-4409-9C64-6D3939A54B03) (Shutdown)
iPhone 12 Pro (32C3ECBD-6E19-4E23-9DBC-40D826661E69) (Shutdown)
iPhone 12 Pro Max (707CC679-85A7-44B0-966D-78AE31327415) (Shutdown)
iPod touch (7th generation) (05B8DA81-EB36-46ED-8B83-EEBA95E5615F) (Shutdown)
iPad Pro (9.7-inch) (26DDB962-7D10-4980-A16B-5EE6E889799A) (Shutdown)
iPad Pro (11-inch) (2nd generation) (D041360F-A233-4F48-98B8-7DC37315ABBE) (Shutdown)
iPad Pro (12.9-inch) (4th generation) (D5B9B352-5F9D-4C69-A2B1-6992462D76EE) (Shutdown)
iPad (8th generation) (8B8A547E-2063-4AE5-92D0-7FB44825CCFB) (Shutdown)
iPad Air (4th generation) (013ABF24-A880-40F0-9A2D-8D0D295CD5EB) (Shutdown)
-- iOS 15.0 --
iPhone 8 (D698CCA5-FC4D-45D5-BE74-C98192FC8650) (Shutdown)
iPhone 8 Plus (03CB5C63-8C0D-41ED-93D8-7392857AC91B) (Shutdown)
iPhone 11 (01B1CE40-40DB-49BE-BE36-612273AFEDAD) (Shutdown)
iPhone 11 Pro (AE07F64A-5E12-4B63-A25A-AB4FD4720BEB) (Shutdown)
iPhone 11 Pro Max (7A600365-1E5E-471E-885E-A876FBC3306D) (Shutdown)
iPhone SE (2nd generation) (D0495A2D-777E-4968-AE0E-42F48B9C3894) (Shutdown)
iPhone 12 mini (4E076AEB-09CF-4756-A46C-584ECE6AC893) (Shutdown)
iPhone 12 (3B2E15CF-E82B-491C-A122-D9DAC5DF73F2) (Shutdown)
iPhone 12 Pro (B84AB24A-5C79-4CD4-9215-1241C076D17C) (Shutdown)
iPhone 12 Pro Max (AF51857B-7058-414D-85AF-3490D2ABDC7C) (Shutdown)
iPhone 13 Pro (6BCA77F8-E06E-48ED-A026-523DE7B7F675) (Shutdown)
iPhone 13 Pro Max (6D5D45F3-F37B-435B-B052-A8C48CA4F13B) (Shutdown)
iPhone 13 mini (53FE77C0-E457-4C9A-84D7-5F1BF39CD141) (Shutdown)
iPhone 13 (04C60394-42EB-4608-89CC-938089C4D603) (Shutdown)
iPod touch (7th generation) (812D39A9-9A83-4593-BC12-B6D301457727) (Shutdown)
iPad Pro (9.7-inch) (624A99D1-6A8E-440A-AB96-3F7C0828C701) (Shutdown)
iPad (9th generation) (24E5BDF6-3EE5-4232-9E39-EBF4B48A9A2E) (Shutdown)
iPad Air (4th generation) (FF4BFEEB-3DA8-4BB3-93E6-E3889C94F556) (Shutdown)
iPad Pro (11-inch) (3rd generation) (9C8A5850-F1D0-4B81-B7BE-2242BC3A1DB3) (Shutdown)
iPad Pro (12.9-inch) (5th generation) (2B47305A-7F97-44AE-8E53-30456CF02FBC) (Shutdown)
iPad mini (6th generation) (EB928DCA-ABCD-414C-BB02-40EFD923CAE8) (Shutdown)
I have tried updating Xcode to version 13 but it doesn’t solve the problem.