Description
Our iOS application fails to build on the CI/CD pipeline. The build log indicates that it is attempting to use the iOS 18.0 SDK, which is not available on the build runner.
The error log:
Running pod install... 4.9s
Running Xcode build...
Xcode archive done. 3.9s
Failed to build iOS app
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ generic:1, platform:iOS }
Ineligible destinations for the "Runner" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.0 is not installed. To use with Xcode, first download and install the platform }
════════════════════════════════════════════════════════════════════════════════
iOS 18.0 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Components, and click the GET button for the
required platform.
For more information, please visit:
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
════════════════════════════════════════════════════════════════════════════════
Encountered error while archiving for device.
##[error]Bash exited with code '1'.
Finishing: build ios
Platforms affected
Runner images affected
Image version and build link
macos 15
Is it regression?
no
Expected behavior
The build was always successfully before 13.Aug
Actual behavior
Failed with error as above
Repro steps
Starting: build ios
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.250.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
Generating script.
Script contents:
/Users/runner/hostedtoolcache/Flutter/3.27.4/macos/flutter/bin/flutter build ipa
Description
Our iOS application fails to build on the CI/CD pipeline. The build log indicates that it is attempting to use the iOS 18.0 SDK, which is not available on the build runner.
The error log:
Running pod install... 4.9s
Running Xcode build...
Xcode archive done. 3.9s
Failed to build iOS app
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier:
{ generic:1, platform:iOS }
════════════════════════════════════════════════════════════════════════════════
iOS 18.0 is not installed. To download and install the platform, open
Xcode, select Xcode > Settings > Components, and click the GET button for the
required platform.
For more information, please visit:
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
════════════════════════════════════════════════════════════════════════════════
Encountered error while archiving for device.
##[error]Bash exited with code '1'.
Finishing: build ios
Platforms affected
Runner images affected
Image version and build link
macos 15
Is it regression?
no
Expected behavior
The build was always successfully before 13.Aug
Actual behavior
Failed with error as above
Repro steps
Starting: build ios
Task : Command line
Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version : 2.250.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
Generating script.
Script contents:
/Users/runner/hostedtoolcache/Flutter/3.27.4/macos/flutter/bin/flutter build ipa