Please add Simulators for iOS 9 & 10 to Xcode 9 image

ios

#1

Xcode 9 beta 6 image used to support iOS 10.2; so this is a partial regression. We would like support for iOS 9 added also as we still support that version.

Also your image documents are out of date: https://circleci.com/docs/1.0/build-image-macos/#software

This used to work with Xcode 9 beta 6 image:

set -o pipefail && xcodebuild -workspace persimmon.xcworkspace -scheme Development -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=iOS 10.2,name=iPhone 7' -destination 'platform=iOS Simulator,OS=iOS 10.2,name=iPad Air 2' -destination 'platform=iOS Simulator,OS=latest,name=iPhone 8' -destination 'platform=iOS Simulator,OS=latest,name=iPad (5th generation)' clean build test | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
chruby: unknown Ruby: 2.3.1
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:iOS Simulator, OS:iOS 10.2, name:iPhone 7 }

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

	Available destinations for the "Development" scheme:
		{ platform:iOS Simulator, id:51C10775-3B54-4677-AD5A-129246DA317B, OS:11.0, name:iPad (5th generation) }
		{ platform:iOS Simulator, id:8B4A138A-53AB-46D0-B451-BC0E579975F0, OS:11.0, name:iPad Air }
		{ platform:iOS Simulator, id:20A450F9-F461-40AC-BF98-75C2F105D7FD, OS:11.0, name:iPad Air 2 }
		{ platform:iOS Simulator, id:1110886E-B6AB-4E0B-8136-79CE13058B93, OS:11.0, name:iPad Pro (9.7-inch) }
		{ platform:iOS Simulator, id:5BE41A51-D8BA-44B7-82FD-305D4908A8A1, OS:11.0, name:iPad Pro (10.5-inch) }
		{ platform:iOS Simulator, id:4D32B270-5605-442F-8D6E-8BF5ACE4078C, OS:11.0, name:iPad Pro (12.9-inch) }
		{ platform:iOS Simulator, id:C8E29E11-4F78-40D7-8D23-2379817DC89A, OS:11.0, name:iPad Pro (12.9-inch) (2nd generation) }
		{ platform:iOS Simulator, id:26B61E65-3990-4873-9A50-F6135345B1C9, OS:11.0, name:iPhone 5s }
		{ platform:iOS Simulator, id:FFEA6556-19C1-4148-9536-8F3023C9C0C7, OS:11.0, name:iPhone 6 }
		{ platform:iOS Simulator, id:E551D33D-AC9D-4DCF-A14C-EE565F26CD0A, OS:11.0, name:iPhone 6 Plus }
		{ platform:iOS Simulator, id:7199CB9D-EE47-40DA-9EA5-0A36AD9C3C3D, OS:11.0, name:iPhone 6s }
		{ platform:iOS Simulator, id:E88DBE9A-3B6E-4D3B-B656-F7ABC4CB2767, OS:11.0, name:iPhone 6s Plus }
		{ platform:iOS Simulator, id:06F79E0E-7E01-4C91-909C-1E098619569C, OS:11.0, name:iPhone 7 }
		{ platform:iOS Simulator, id:BB69F42E-E6F1-4D3E-AF67-8F2D94591A69, OS:11.0, name:iPhone 7 Plus }
		{ platform:iOS Simulator, id:74956198-BEC3-4FE8-B925-44E2702CE223, OS:11.0, name:iPhone 8 }
		{ platform:iOS Simulator, id:CDC7774B-7433-4F26-80CB-B244EECEF672, OS:11.0, name:iPhone 8 Plus }
		{ platform:iOS Simulator, id:866BEBF6-163B-4F0D-8D28-57C5FCFDEFC5, OS:11.0, name:iPhone SE }
		{ platform:iOS Simulator, id:C78D4F8E-0510-4411-A335-C133F8999CA8, OS:11.0, name:iPhone X }

	Ineligible destinations for the "Development" 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 }

set -o pipefail && xcodebuild -workspace persimmon.xcworkspace -scheme Development -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=iOS 10.2,name=iPhone 7' -destination 'platform=iOS Simulator,OS=iOS 10.2,name=iPad Air 2' -destination 'platform=iOS Simulator,OS=latest,name=iPhone 8' -destination 'platform=iOS Simulator,OS=latest,name=iPad (5th generation)' clean build test | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml returned exit code 70

#2

+1

Please add iOS 10 simulators to the Xcode 9 machine image so we can test against other supported iOS versions.


#3

@arlo-egg @ndonald2 Thank you for your patience here. We have just finished rolling out the updated Xcode 9 image that includes an iOS 10.3.1 simulator.

Creating a feature request to add iOS 9 simulators in upcoming releases.


#4

Great, thank you for updating so quickly!


#5

Alexey, Is this issue related to the simulator update at all? Can’t find simulator - Xcode 9
My team hasn’t been able to build on the Xcode 9 image because simulator selection is broken for us.


#6

@alexey Thanks for adding 10.3.1. Usually, most iOS projects support the last 2 major versions of the iOS, which right now are iOS 10.0 and 11.0. Therefore, it would be great if you could add the iOS 10.0 simulators to you Xcode 9 image as well.


#7

@alexey is there ETA for iOS 9 simulators? Thanks


#8

@alexey any update on iOS 9 simulators on Xcode 9?

Thank you


#9

@alexey same question here. We would love to build VLC for iOS with iOS 9. Though I’m sure it’s not a priority for you and @DanToml


#10

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.