Warning: unhandled Platform key FamilyDisplayName on macOS

Abierto
#2,754 2 comentarios 2 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
43/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

Start by tracing how devbox shell changes PATH and how the repository handles warnings from Nix's xcrun; the issue names no relevant files or tests. Compare the behavior with upstream nixpkgs#376958 and determine whether the project should suppress the warning, document it, or wait for an upstream fix. Done means the chosen response is implemented or the upstream dependency is updated, with the cosmetic warning addressed.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

p3 processed unrelated

Description

When entering devbox shell on macOS, the following warning is displayed:

warning: unhandled Platform key FamilyDisplayName

This is a cosmetic warning that doesn't affect functionality, but it can be confusing for users and clutters terminal output.

Steps to Reproduce

  1. On macOS (tested on newer versions with recent Xcode)
  2. Run devbox shell in any devbox project
  3. Observe the warning message

Environment

  • macOS (newer versions with updated Xcode)
  • Devbox (various versions)

Root Cause Analysis

The warning originates from xcbuild's xcrun in Nix when it parses modern Xcode Platform plist files. On newer macOS versions, Apple added a FamilyDisplayName key to Platform plists that the Nix-provided xcrun doesn't recognize.

When entering devbox shell, the PATH is modified to include Nix's xcrun (from xcbuild) instead of Apple's /usr/bin/xcrun. The Nix version hasn't been updated to handle newer Xcode plist keys, causing this warning.

Related Issues

  • NixOS/nixpkgs#376958 - Upstream nixpkgs issue tracking this xcbuild problem
  • IlanCosman/tide#611 - Documents the same warning in nix-shell environments
  • jetify-com/devbox#2566 - Related xcrun issues in devbox on macOS

Workarounds

  1. Ignore it - The warning is cosmetic and doesn't affect functionality
  2. Wait for upstream fix - Once nixpkgs updates xcbuild to handle newer Xcode plist keys, this should resolve

Suggested Resolution

This will likely be resolved once the upstream nixpkgs issue is fixed. Devbox could potentially:

  1. Suppress this specific warning from stderr
  2. Document this as a known issue for macOS users
  3. Track the upstream fix and update the nixpkgs pin when available
Lenguaje dominante
Go
Estrellas
12.4k
Forks
358
Merge medio
17 h 12 min
PR fusionados (30 d)
31

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jetify-com/devbox

Todos los issues de jetify-com/devbox

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.