Warning: unhandled Platform key FamilyDisplayName on macOS
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- On macOS (tested on newer versions with recent Xcode)
- Run
devbox shellin any devbox project - 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
- Ignore it - The warning is cosmetic and doesn't affect functionality
- 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:
- Suppress this specific warning from stderr
- Document this as a known issue for macOS users
- Track the upstream fix and update the nixpkgs pin when available
- 主要语言
- Go
- 星标
- 12.4k
- 派生
- 358
- 平均合并
- 17 小时 12 分钟
- 30 天内合并 PR
- 31
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
jetify-com/devbox 的其他 Issue
-
feature triage
难度 2/5 1-3 小时 新手友好度 62/100
jetify-com/devbox#3038 ·
维护者通常 1 天内回复
-
bug p4 package processed triage unrelated
难度 2/5 1-3 小时 新手友好度 66/100
jetify-com/devbox#2898 · 2 条评论 ·
维护者通常 1 天内回复
-
p4 processed unrelated
难度 2/5 1-3 小时 新手友好度 65/100
jetify-com/devbox#2750 · 1 条评论 ·
维护者通常 1 天内回复
-
Storyden未关闭p4 package processed triage unrelated
难度 2/5 1-3 小时 新手友好度 62/100
jetify-com/devbox#2685 · 1 条评论 ·
维护者通常 1 天内回复
-
looks easy p4 package processed triage
难度 2/5 1-3 小时 新手友好度 60/100
jetify-com/devbox#2656 · 1 条评论 ·
维护者通常 1 天内回复
查看 jetify-com/devbox 的全部 Issue
相似的 Issue
-
CLI: `describe <ns>.<table>` reports "namespace does not exist" when only the table is missing可能已有人在做 @Shruthirdy 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
apache/iceberg-go#2423 ·
维护者通常 2 天内回复
-
post-v4
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
rishikanthc/Scriberr#506 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
microsoft/TypeScript#65290 ·
维护者通常 1 天内回复
-
[Bug] rollingUpdatePartition panics when live StatefulSet replicas sit far below the desired count未关闭
难度 2/5 1-3 小时 新手友好度 78/100
sgl-project/rbg#547 ·
维护者通常 1 天内回复