Scrambled iOS Simulator Device IDs?

ios

#1

Hello,

According to the docs the simulator UUID for iPhone 7 (10.0) should be 2D96E690-BFB5-44D5-8B22-31D9C57EDADF, however when my CircleCI tests are run, I get the following error:

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ id:2D96E690-BFB5-44D5-8B22-31D9C57EDADF }


Available destinations for the "<project>" scheme:
{ platform:iOS Simulator, id:86C70E92-4379-4BFB-9F02-446FF6E5F5E7, OS:8.4, name:iPad 2 }
{ platform:iOS Simulator, id:4E8F8162-F806-4B11-B52B-93EA73B678C9, OS:9.0, name:iPad 2 }
{ platform:iOS Simulator, id:CA48052F-7F3E-4A95-997F-888A19E3D7FF, OS:9.2, name:iPad 2 }
...
{ platform:iOS Simulator, id:020F29EE-AA47-43D2-9E8F-A814D40FA518, OS:10.0, name:iPhone 7 }
{ platform:iOS Simulator, id:25ED651C-B5E8-47A3-B435-933E305C23EF, OS:10.1, name:iPhone 7 }

None of those UUIDs for iPhone 7 matches the one in the documentation. Has it been scrambled again?


#2

Hello @jurvis, unfortunately yes, the simulator UUIDs have changed. We are very sorry for the trouble.

We have updated the docs to not to reference any simulator UUIDs at all—because of how easily the UUIDs can change we now suggest only using simulator names in your circle.yml.

We added an example of how to use simulator names both in the xcodebuild command and when pre-starting the simulator in this post. Could you please check the post out and let us know if using the simulator names works for you?

If there is any use case where you can only use simulator UUIDs and not simulator names please let us know.

Thanks.


#3