Build failing. error: Unable to find a destination matching the provided destination specifier:


#1

Unable to build my project. This was working and now none of my projects are building. I get the following error saying it’s unable to to find the destination.

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, OS:latest, name:iPhone 5s }

The requested device could not be found because multiple devices matched the request.

Available destinations for the "goidit" scheme:
	{ platform:iOS Simulator, id:14440AB7-BF77-4DCF-AE5A-2F579FDCAAB3, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:536B6B28-3EC5-493B-939E-74F9F565767E, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:53B0DC9D-B7A5-494F-8A6E-B524A39ADA51, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:5EC87716-0382-4F7A-9BCB-1ABE30553514, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:AE992086-5A6A-4337-90E9-B83EA4233E11, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:CFEBC13F-7384-48FA-A7B8-C1AF118E8A65, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:D7E80CE9-74CA-49AF-917A-DC3A418DE913, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:E8674976-B02C-4BFF-B864-87C27DBD2FA7, OS:10.0, name:iPad Air }
	{ platform:iOS Simulator, id:461C863A-864C-4698-924B-DEEFDBF1B019, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:49E21034-94F6-48A6-B426-DE797124ECB7, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:53B47E0B-3562-4214-98EE-7F5342E538BD, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:6155F4F9-D396-4A9A-AE6A-F7F921011E4A, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:68243A93-404F-403D-ADE9-44A014D2679A, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:877A695C-6140-4DF7-B17C-94E8DDB4D0B6, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:A67584DC-6D5D-48C7-B7FA-9DA7615613DF, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:D160B34C-0372-42F2-81C6-7B82C3303B74, OS:10.0, name:iPad Air 2 }
	{ platform:iOS Simulator, id:048B93E8-A51F-4015-945F-EA03FA41137B, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:1592D91C-89D1-40B6-B328-3F4F6E9672C7, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:568F68D6-2189-40BB-88B3-D6ADABDD0E75, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:7DD437B6-2AD1-4FF6-A6E9-DF9EFBE9F9DC, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:C42E7F4A-E1C7-4CEE-8145-FC588F217FD5, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:CCD79EAB-D9F5-42B8-AF10-B83474B3764B, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:D13690F5-1E8E-42A6-A97A-18A31FA6F68D, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:FBF5E868-EBC7-48F0-AC95-5C1E06B07D44, OS:10.0, name:iPad Pro (9.7 inch) }
	{ platform:iOS Simulator, id:057E2924-1142-4F9D-B0A5-4368EC5DAC94, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:6D0024F5-B9BD-418F-BCEB-7E1562DA2663, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:7904DE83-0848-42F0-AFD5-F653B3B4153C, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:B17FB466-B486-4CC3-A610-34F1737F08C3, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:DA650118-C29C-40C0-B789-168BD3C57BC9, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:DB2B8DA8-7571-4169-8CAA-9A32E1E0EA1B, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:DDF9C719-329F-45E3-8002-A75548C7E1F3, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:DE32C063-613D-4E8A-B01C-B603EA84B9B8, OS:10.0, name:iPad Pro (12.9 inch) }
	{ platform:iOS Simulator, id:3889B419-E12E-43BA-A662-BCACC813DE71, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:51A26AA8-B579-4663-A6A5-EFBEC3C7C759, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:5865D76A-0675-4DA9-89CE-DBC5565FF418, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:59F4D38C-AF3E-49B2-8C1F-A7F448473B03, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:CEB5058F-7ABF-4EF6-9954-0C877718155A, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:D9DC9656-22B4-4705-941F-5254E802644B, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:E36E2F24-58BB-4BC0-92CC-7739CB10A689, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:FDA0E9E1-CF90-4E73-86C9-B3D2227736B6, OS:10.0, name:iPad Retina }
	{ platform:iOS Simulator, id:4625F6B3-4B34-4363-9233-309602F3344B, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:6515B5BC-A909-4E96-ACD2-268276C08CEF, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:6DCE08F4-D5F1-4924-8109-A58C463B3189, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:780CD6D8-55AE-4831-BE08-F6A49E0D5252, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:D92BFFFC-3459-486F-AFA6-B803F40DBD01, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:EE8318D9-7613-49BD-9E8E-6EBF726E68CB, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:F36457B5-79A1-49A7-9978-175401177D88, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:FD529CF4-CF8F-499B-8DCF-EA8DCCDBA68A, OS:10.0, name:iPhone 5 }
	{ platform:iOS Simulator, id:00F02C2D-4785-4079-8388-18584712ACE5, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:05219911-F663-44E0-B75D-F128C760C551, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:2CF57FCE-49EB-4060-9285-10EA26B2AEEC, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:6FDD42E5-362F-47CC-8ECE-0F93EBEA651B, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:A4AC526E-E926-481D-AC56-1B7A7C6CE0F6, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:A7F10584-16EF-4AF5-94EF-2D8130E88046, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:AA12CEE8-C88E-4077-B43C-86AF06E2A443, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:CA9DAB08-8920-4583-9D6B-B2BAE8BB576B, OS:10.0, name:iPhone 5s }
	{ platform:iOS Simulator, id:0E30FA48-3847-494C-83D3-6473A406C7DA, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:26F2439C-1885-4248-9F2E-7E2828BA8864, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:79D3C523-6AC0-4421-A26F-2F68BDDB6844, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:8F553B5B-65A5-46CD-8B19-910C9FFEA935, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:AC659DCF-43B2-4144-9194-B5E308050456, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:B326B09D-54EA-42EA-A532-0244C9EA7314, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:DE8BABB4-3B78-4B49-9F57-225A674522FF, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:DF9AA241-C427-4666-816B-12887F530ECF, OS:10.0, name:iPhone 6 }
	{ platform:iOS Simulator, id:1D776F49-4A73-428A-9B2E-D2C1B14A3A5B, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:62DB805D-7938-404E-B663-B2AC9788D8AF, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:87BFE14B-58DF-4F47-BC5E-A0A2BCCA02A7, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:9FB43EC7-BBEF-47CD-8666-F694CEFBB5EE, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:ADE34631-841B-4E86-8F95-A3076E27A373, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:B8D4FDC8-AAA7-46A2-9927-FEC08013008C, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:E981DA95-C46F-48F5-BFFB-41CB2412733E, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:FD09F7BD-77BD-4BED-B375-060469CB9E34, OS:10.0, name:iPhone 6 Plus }
	{ platform:iOS Simulator, id:07B73614-C296-4EA0-94AE-B30521ACC10D, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:26D9415C-221A-45DA-8EBD-FBEE0184A4DF, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:2B06176E-F965-41F9-B445-BE18BA4151B1, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:5CDDF838-1370-476B-86B8-C46108EDE8B6, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:7025263D-4443-4714-B8AD-D61ABCB7793D, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:AB602532-EC71-40EF-85FA-B905B223DCDE, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:B2B6A3F1-7FF1-4041-9958-50A1E8F9539C, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:E0C41515-1530-4B10-8B9D-E09C8A64E3B6, OS:10.0, name:iPhone 6s }
	{ platform:iOS Simulator, id:1BC27715-7D64-475B-A4E0-C956E2EABBF1, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:2247612E-F2B4-43E1-9841-8BE9BAAA4474, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:23ACD67A-9D34-4679-B7F0-40FD7D647EDF, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:451C30CE-6EDE-4DB0-AE04-E535F23D5C3D, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:67BEE146-C255-4031-B11A-8934E7DBA36D, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:7D5D06E7-32EE-4A8E-A774-2144BAB91486, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:D2538089-43DC-48DC-9C4B-FE376B1E6738, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:EAB1F970-243E-41B2-AE00-95B7F5B725EE, OS:10.0, name:iPhone 6s Plus }
	{ platform:iOS Simulator, id:06010DB0-83B4-4BC2-A073-1AA7F20F52FF, OS:10.0, name:iPhone 7 }
	{ platform:iOS Simulator, id:17125E81-4FE7-45B6-AB5C-DDEB28F56199, OS:10.0, name:iPhone 7 Plus }
	{ platform:iOS Simulator, id:076C46B2-150D-4F4A-AC23-AB7A3DB024A8, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:179632E4-41CB-4611-ABB6-C752A929187B, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:6315AB71-8B87-4760-B65C-6B81EE71239E, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:784FE61A-E4AC-48B5-A041-8BC4BF31F79F, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:7F0CF16A-1F69-478F-9470-54A8D7AEAC83, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:89EBED15-AC03-4BFB-BC2D-232C6DE9C27E, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:90ACAAB4-657B-4410-A994-4C81589B6DE3, OS:10.0, name:iPhone SE }
	{ platform:iOS Simulator, id:DF24B2E3-C51F-4B56-90E9-5EB386143C42, OS:10.0, name:iPhone SE }

Ineligible destinations for the "goidit" scheme:
	{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
	{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }

Error: Error code 70 for command: xcodebuild with args: -xcconfig,/Users/edmckee/Development/ionic-mobile/goidit2/platforms/ios/cordova/build-debug.xcconfig,-workspace,goidit.xcworkspace,-scheme,goidit,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 5s,build,CONFIGURATION_BUILD_DIR=/Users/edmckee/Development/ionic-mobile/goidit2/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/edmckee/Development/ionic-mobile/goidit2/platforms/ios/build/sharedpch


#2

Anyone know how to fix this (in Xcode config somewhere?)


#3

I got this error. It seems to be a problem with xcode not being able to connect properly with the device where the app is to be run. I did the following things.

  1. The phone was locked, so I entered my passcode.
  2. Unplugged the phone from my computer and plugged it in again
  3. Waited for xcode to finish install symbols (I think this was for the Apple Watch)

I’m not sure which one of them fixed the problem. Steps 1 and 2 are probably sufficient for most cases.


#4

Got the same error when building a simple cordova sample app on XCode 7.3.1.
The error disappears if my iOS device is plugged in, otherwise I always get the same error when there is no iOS devices connected to my PC.


#5

try: ionic cordova run ios
then try :ionic cordova run ios --livereload