Xcode 16 GA Released

The Xcode 16.0.0 image has been released and can be selected as follows:

macos:
    xcode: 16.0.0

Apple Developer Documentation

Xcode 16 GA Release Notes | Apple Developer Documentation


:information_source: Apple Silicon VM Image Info :information_source:

Xcode 16.0 GA Build version 16A242d is installed at /Applications/Xcode-16.app

The full manifest of installed software can be found here


1 Like

Thank you for the one day turn around on this VM.

Was there a reason to change this VM to use ruby 3.3.4? The RC VM used 3.3.5.

1 Like

Hello there.

I’m trying to migrate my project to 16.0.0 and encountering an problem while using fastlane scan.

It appears it cannot find proper simulator even though it’s listed on installed software.

output:

[13:53:37]: Successfully loaded '/Users/distiller/project/fastlane/Scanfile' 📄

+--------------------------------------------+
| Detected Values from './fastlane/Scanfile' |
+--------------+-----------------------------+
| scheme       | *****                       |
| workspace    | ./XXX.xcworkspace |
| clean        | true                        |
| device       | iPhone 15 Pro Max           |
+--------------+-----------------------------+

[13:53:37]: Resolving Swift Package Manager dependencies...
[13:53:37]: $ xcodebuild -resolvePackageDependencies -workspace ./MobileVikings.xcworkspace -scheme *****
[13:53:38]: ▸ Command line invocation:
[13:53:38]: ▸     /Applications/Xcode-16.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./MobileVikings.xcworkspace -scheme *****
[13:53:38]: ▸ User defaults from command line:
[13:53:38]: ▸     IDEPackageSupportUseBuiltinSCM = YES
[13:53:39]: ▸ resolved source packages: 
[13:53:39]: $ xcodebuild -showBuildSettings -workspace ./MobileVikings.xcworkspace -scheme ***** 2>&1
nil versions are discouraged and will be deprecated in Rubygems 4
[13:53:50]: Ignoring 'iPhone 15 Pro Max', couldn't find matching simulator
[13:53:50]: Couldn't find any matching simulators for '["iPhone 15 Pro Max"]' - falling back to default simulator
[13:53:50]: Found simulator "iPhone SE (3rd generation) (17.5)"

the very same happens for iPhone Max 16.

all this happens while the same configuration but with xcode 15.3 seems to be still run ok.

Any chances to get help with this issue?

1 Like

Hello Brian,

There is no particular reason as to why this was changed. It was just a patch version that was missed on the GA release.
This will be fixed for the 16.1 Beta 2 release.
Thank you,
Luis

Hello Michał,
The simulator versions are very heavily tied to Xcode versions. So it may be that the version you were using for Xcode 15.3 is not valid for Xcode 16

Using the following macos-orb/preboot-simulator I was able to preboot a iPhone 16 Pro Max simulator with iOS 18.0.

- macos/preboot-simulator:
          version: "18.0"
          platform: "iOS"
          device: "iPhone 16 Pro Max"

I can confirm the simulator was able to boot using the following

xcrun simctl list devices --json
      {
        "lastBootedAt" : "2024-09-18T16:30:06Z",
        "dataPath" : "\/Users\/distiller\/Library\/Developer\/CoreSimulator\/Devices\/990AD216-A8EC-450C-924C-4C6059F41BF5\/data",
        "dataPathSize" : 105902080,
        "logPath" : "\/Users\/distiller\/Library\/Logs\/CoreSimulator\/990AD216-A8EC-450C-924C-4C6059F41BF5",
        "udid" : "990AD216-A8EC-450C-924C-4C6059F41BF5",
        "isAvailable" : true,
        "logPathSize" : 16384,
        "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro-Max",
        "state" : "Booted",
        "name" : "iPhone 16 Pro Max"
      },

I hope this helps,
Thanks

We are also seeing this error for both “iPhone 15” and “iPhone 16”.
Both devices are there when running “xcrun simctl list devices --json”.
We also tried prebooting the simulator with the command and there was no change.
Running the same fastlane command locally works fine.

Had the same issue and was able to work around it by being more specific in the device name and including the iOS version. ie…

changing from:
iPhone 15 Pro
to:
iPhone 15 Pro (18.0)

2 Likes

This fixed it for me too.