Skip to content

Bug: Rare Error When Building iOS: iPhone 16 not found #78

Description

@bernhste

This happened twice so far: The iOS app does not build on CI:

https://github.com/cpholguera/frooky/actions/runs/21820334910/job/62951884378

This is the error:

Run cd mas-app-ios
Using scheme: MASTestApp
Command line invocation:
    /Applications/Xcode_16.4.app/Contents/Developer/usr/bin/xcodebuild build -project MASTestApp.xcodeproj -scheme MASTestApp -destination "platform=iOS Simulator,name=iPhone 16" -derivedDataPath /Users/runner/work/frooky/frooky/DerivedData CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO

Build settings from command line:
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_ALLOWED = NO
    CODE_SIGNING_REQUIRED = NO

2026-02-09 09:57:43.649 xcodebuild[11261:54057] Writing error result bundle to /var/folders/yz/zr09txvs5dn18vt4cn21kzl40000gn/T/ResultBundle_2026-09-02_09-57-0043.xcresult
xcodebuild: error: Unable to find a device matching the provided destination specifier:
		{ platform:iOS Simulator, OS:latest, name:iPhone 16 }

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

	Available destinations for the "MASTestApp" scheme:
		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:ee8e8c74c8994392d334f6bcf2b39a2dd5e66635, 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 }

Maybe a timing issue, and we have to wait until the Simulator is available (xcrun simctl list devices available)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions