v0.7.1
fix: improve macOS code signing to resolve Gatekeeper warnings
- Add runtime hardening and timestamp to codesign
- Remove quarantine attributes with xattr -cr before signing
- Add signature verification steps for debugging
- Enhance installation instructions for Gatekeeper warnings
- Provide both GUI and command-line solutions for users
This addresses the 'Apple cannot verify' security warnings that appeared
after adding the app icon and modifying the build process.
Universal Binary (支持 Intel 和 Apple Silicon Mac)
安装方法(重要):
由于 macOS 安全策略,初次安装可能需要以下步骤:
方法1:标准安装(推荐)
- 双击打开 DMG 文件
- 将 MacVimSwitch 拖入 Applications 文件夹
- 右键点击 MacVimSwitch.app → 选择 "打开"
- 点击 "打开" 确认信任该应用
方法2:命令行解除(高级用户)
# 在终端中运行(请修改为实际路径)
sudo xattr -rd com.apple.quarantine /Applications/MacVimSwitch.app系统设置步骤:
- 在系统偏好设置中授予必要权限
- 如果从 v0.6.3 之前旧版本升级,需要先删除原来的应用权限,再重新授权
SHA256: 891161d7ff68185d7e2586d7113a83aca99ca09c9d26515bf9e109150177092e
You can verify the SHA256 checksum of the DMG file using:
shasum -a 256 MacVimSwitch.dmg