Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 14 with Xcode 16.2 missing iOS 18.2 SDK #11335

Open
2 of 16 tasks
lardieri opened this issue Jan 8, 2025 · 3 comments
Open
2 of 16 tasks

macOS 14 with Xcode 16.2 missing iOS 18.2 SDK #11335

lardieri opened this issue Jan 8, 2025 · 3 comments

Comments

@lardieri
Copy link

lardieri commented Jan 8, 2025

Description

macOS 14 (Intel) worker machines with Xcode 16.2 installed are missing the iOS 18.2 SDK. Unknown if this affects Arm64 workers.

This causes the following error during the Xcode archive step:

2025-01-08T22:06:35.5044390Z xcodebuild: error: Unable to find a destination matching the provided destination specifier:
2025-01-08T22:06:35.5162020Z { generic:1, platform:iOS }
2025-01-08T22:06:35.5182120Z
2025-01-08T22:06:35.5184510Z Ineligible destinations for the "***********" scheme:
2025-01-08T22:06:35.5187250Z { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.2 is not installed. To use with Xcode, first download and install the platform }
2025-01-08T22:06:35.5578370Z ##[error]Error: /usr/bin/xcodebuild failed with return code: 70

Relevant YAML

  pool:
    vmImage: 'macOS-14'
  
  - task: Xcode@5
    displayName: Archive
    inputs:
      actions: 'archive'
      args: '-destination generic/platform=iOS -archivePath $(Pipeline.Workspace)/$(archiveName).xcarchive -verbose'
      configuration: '$(build-configuration)'
      packageApp: false
      scheme: '$(build-scheme)'
      sdk:
      xcodeVersion: '16'
      xcWorkspacePath: '*.xcworkspace'

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

2025-01-08T22:03:43.6644350Z ##[section]Starting: Initialize job
2025-01-08T22:03:43.6646710Z Agent name: 'Hosted Agent'
2025-01-08T22:03:43.6647170Z Agent machine name: 'Mac-1736371874433'
2025-01-08T22:03:43.6647410Z Current agent version: '3.248.0'
2025-01-08T22:03:43.6675680Z ##[group]Operating System
2025-01-08T22:03:43.6675890Z macOS
2025-01-08T22:03:43.6676020Z 14.7.2
2025-01-08T22:03:43.6676150Z 23H311
2025-01-08T22:03:43.6676290Z ##[endgroup]
2025-01-08T22:03:43.6676460Z ##[group]Runner Image
2025-01-08T22:03:43.6676640Z Image: macos-14
2025-01-08T22:03:43.6676810Z Version: 20250106.587

Is it regression?

Yes

Expected behavior

Build completes successfully, as it does on Xcode 16.1

Actual behavior

Error: iOS 18.2 is not installed. To use with Xcode, first download and install the platform

Repro steps

  1. Create a pipeline that archives an iOS app to prepare it for upload to App Store.
  2. Run this pipeline on a macOS 14 worker with Xcode 16.2
@sureshe456
Copy link
Contributor

Hi @lardieri We began our weekly deployment of macOS 14 and macOS 14-arm64 images on Monday. The current Xcode version, 16.2 Release Candidate along with iOS 18.2 SDK, is expected to be available within 1–2 days. We will provide an update here once the VM rollout is complete. Thank you for your patience.

@Baza207
Copy link

Baza207 commented Jan 9, 2025

@sureshe456 That might be the case, but it doesn't seem to include any simulators with the 18.2 version. Only ones for 18.1, as per the docs as of today at least. https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md

The SDK for 18.2 is included, but no simulators use it for macOS-14 or macOS-14-arm64. 😞

PR Referene: #11315

image

@egg-r
Copy link

egg-r commented Jan 9, 2025

I'm running into this issue as well on the new 20250106.587 macos-14 image while attempting to use xcode 16.2. I'm given errors that no destinations could be found for the scheme when using 16.2, but 16.1 works fine. I'm not specifying destinations. Seems the 16.2 SDK is good, but the simulators are missing.

Error:

xcodebuild: error: Found no destinations for the scheme 'My Scheme name' and action clean.

Image details:

Agent name: 'Hosted Agent'
Agent machine name: 'Mac-1736363096916'
Current agent version: '3.248.0'
Operating System
Runner Image
Runner Image Provisioner
Current image version: '20250106.587'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants