Skip to content

Xcodes exits immediately on launch on macOS 27.0 beta with AttributeGraph precondition failure #476

@lucas-sesti

Description

@lucas-sesti

Xcodes exits immediately on launch on macOS 27.0 beta with AttributeGraph precondition failure

Summary

Xcodes 4.0.2 starts on macOS 27.0 beta but exits immediately before showing a usable window. Launching from Finder and from open -a Xcodes both reproduce the issue.

Environment

  • Xcodes: 4.0.2, build 37
  • Bundle ID: com.xcodesorg.xcodesapp
  • App path: /Applications/Xcodes.app
  • macOS: 27.0 beta, build 26A5353q
  • Darwin: 27.0.0
  • Mac: MacBook Pro MacBookPro18,2, Apple M1 Max, 32 GB RAM
  • SIP: Enabled
  • Xcodes build SDK: macOS 26.5 / Xcode 17F42

Steps to Reproduce

  1. Install Xcodes 4.0.2 in /Applications.
  2. Run open -a Xcodes or open Xcodes from Finder.

Expected Result

Xcodes opens normally.

Actual Result

The process starts, reaches AppKit/SwiftUI initialization, then exits immediately. No Xcodes crash report is generated under ~/Library/Logs/DiagnosticReports.

Relevant Logs

From Unified Log after running open -a Xcodes:

2026-06-10 12:13:00.570 runningboardd Creating and launching job for: app<application.com.xcodesorg.xcodesapp...>
2026-06-10 12:13:00.579 Xcodes[36556] Retrieve User by ID
2026-06-10 12:13:00.839 Xcodes[36556] [com.apple.attributegraph:error] precondition failure: <private>
2026-06-10 12:13:00.842 launchd service inactive: application.com.xcodesorg.xcodesapp...
2026-06-10 12:13:00.931 runningboardd termination reported by launchd (2, 6, 6)
2026-06-10 12:13:01.013 loginwindow appDeath for com.xcodesorg.xcodesapp with bundle path: /Applications/Xcodes.app

Running the executable directly showed the same pattern:

2026-06-10 12:20:10.184 Xcodes[76857] [com.xcodesorg.xcodesapp:subprocess] Process.run executable: <private>, input: <private>, arguments: <private>
2026-06-10 12:20:10.198 Xcodes[76857] [com.apple.corespotlight:index] Failed to request donation Error Domain=CSIndexErrorDomain Code=-1000
2026-06-10 12:20:10.206 Xcodes[76857] [com.apple.attributegraph:error] precondition failure: <private>
2026-06-10 12:20:10.209 launchservicesd LSExitStatus=0, pid=76857
2026-06-10 12:20:10.215 loginwindow appDeath for com.xcodesorg.xcodesapp

Code Signing / Gatekeeper Diagnostics

codesign reports an invalid signature for both architectures:

$ codesign --verify --strict --verbose=6 /Applications/Xcodes.app
/Applications/Xcodes.app: invalid signature (code or signature have been modified)
In architecture: arm64

$ codesign --verify --strict --verbose=6 --architecture x86_64 /Applications/Xcodes.app/Contents/MacOS/Xcodes
/Applications/Xcodes.app/Contents/MacOS/Xcodes: invalid signature (code or signature have been modified)
In architecture: x86_64

Gatekeeper assessments are disabled on this machine, so spctl still accepts the app:

$ spctl --status
assessments disabled

$ spctl --assess --type execute -vv /Applications/Xcodes.app
/Applications/Xcodes.app: accepted
override=security disabled

Extended attributes:

com.apple.macl:
com.apple.provenance:
com.apple.quarantine: 01c1;6a2918a6;;E3AF5289-CE56-4415-9B24-68705AA7291F

Notes

  • No Xcodes crash report was found in ~/Library/Logs/DiagnosticReports.
  • Because the local app bundle currently fails code-signature verification, it may be worth confirming with a fresh download/install. The launch failure itself is reproducible and the visible failure point in the log is the AttributeGraph precondition failure during startup on macOS 27.0 beta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions