cirruslabs / macos-image-templates

MIT License
207 stars 56 forks source link

Running tests on iOS simulator broke on latest update of 15.3 #147

Closed netbe closed 4 months ago

netbe commented 4 months ago

Hi,

Following last update https://github.com/cirruslabs/macos-image-templates/pull/146, our tests started to fail:

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

    Available destinations for the "***SyncEngine" scheme:
        { platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-19563C1EF6291CE1, name:My Mac }
        { platform:macOS, arch:x86_64, variant:Mac Catalyst, id:0000FE00-19563C1EF6291CE1, name:My Mac }
        { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-19563C1EF6291CE1, name:My Mac }
        { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
        { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
        { platform:visionOS Simulator, variant:Designed for [iPad,iPhone], id:23D385DC-241A-4B5D-85

Note we did not change from our side and the destination is created before.

netbe commented 4 months ago

Here's another type of error:

WireSyncEngine Test Host (5595) encountered an error (Failed to prepare device 'iPhone 14 - iOS17.4' for impending launch. (Underlying Error: Unable to boot device because we cannot determine the runtime bundle. No such file or directory))
fkorotkov commented 4 months ago

macos-sonoma-xcode:{15.3,latest} images just got rebuilt without the change.