[GH-ISSUE #485] [bug] NetoGen_0.19.10_aarch64 用mac air m4 安装后打开报错 NoteGen.app 已损坏 #360

Closed
opened 2026-03-02 03:39:25 +03:00 by kerem · 1 comment
Owner

Originally created by @Tght1211 on GitHub (Jul 29, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/485

详细描述这个 Bug

“NoteGen.app”已损坏,无法打开。 你应该将它移到废纸篓。

NoteGen 版本

NoteGen_0.19.10_aarch64

操作系统

macOS

报错日志

No response

Originally created by @Tght1211 on GitHub (Jul 29, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/485 ### 详细描述这个 Bug “NoteGen.app”已损坏,无法打开。 你应该将它移到废纸篓。 ### NoteGen 版本 NoteGen_0.19.10_aarch64 ### 操作系统 macOS ### 报错日志 _No response_
kerem closed this issue 2026-03-02 03:39:25 +03:00
Author
Owner

@Tght1211 commented on GitHub (Jul 29, 2025):

让ai修复了,本机的环境问题

问题分析

经过详细诊断,发现NoteGen.app无法打开的原因是:

  1. 应用从网络下载后被系统添加了隔离属性
  2. 应用的代码签名与实际资源不匹配
  3. Info.plist中存在不正确的资源配置标记

解决方案(已验证有效)

我已经通过以下步骤成功修复了问题:

  1. 移除隔离属性:
    xattr -rd com.apple.quarantine "/Applications/NoteGen.app"
  2. 修改Info.plist配置:
    将CSResourcesFileMapped键的值从修改为
  3. 重新签名应用:
    codesign --force --deep --sign - "/Applications/NoteGen.app"
<!-- gh-comment-id:3130701417 --> @Tght1211 commented on GitHub (Jul 29, 2025): 让ai修复了,本机的环境问题 问题分析 经过详细诊断,发现NoteGen.app无法打开的原因是: 1. 应用从网络下载后被系统添加了隔离属性 2. 应用的代码签名与实际资源不匹配 3. Info.plist中存在不正确的资源配置标记 解决方案(已验证有效) 我已经通过以下步骤成功修复了问题: 1. 移除隔离属性: xattr -rd com.apple.quarantine "/Applications/NoteGen.app" 2. 修改Info.plist配置: 将CSResourcesFileMapped键的值从<true/>修改为<false/> 3. 重新签名应用: codesign --force --deep --sign - "/Applications/NoteGen.app"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#360
No description provided.