tw93 / MiaoYan

⛷ Lightweight Markdown app to help you write great sentences. ⛷ 轻灵的 Markdown 笔记本伴你写出妙言
https://miaoyan.app
MIT License
5.47k stars 306 forks source link

V1.4.3 Cannot Open ,请使用 1.4.7 版本 #125

Closed enlipan closed 2 years ago

enlipan commented 2 years ago

早上打开妙言收到更新推送, 点击更新进度条走完, 显示安装错误, 由于回滚后依旧无法打开现在截图无法提供. 随后尝试进入妙言官网手动下载:

OS: macOS Monterey V12.4
Miaoyan DownloadLink: https://github.com/tw93/MiaoYan/releases/download/V1.4.3/MiaoYan.dmg

V1.4.3 安装后打开显示如下: image

尝试回滚至 V1.3.1 Hurry up, 无法打开应用, 显示同样如下, 无任何安全提示问题: image

期望能够得到解决, 感谢.

tw93 commented 2 years ago

很抱歉,今天早上证书过期了,当前1.4.3使用的新证书,当前1.4.3是没有问题的 辛苦参考这个 https://zhuanlan.zhihu.com/p/52389383 文档试试

enlipan commented 2 years ago

很抱歉,今天早上证书过期了,当前1.4.3使用的新证书,当前1.4.3是没有问题的 辛苦参考这个 https://zhuanlan.zhihu.com/p/52389383 文档试试

这些方法都尝试过了, 依旧是无法打开的, 而且如果是安全验证问题在安全中心中会提示是否要打开的, 目前没有提示.

尝试进入 application 右键打开, 依旧是无法打开.

image

tw93 commented 2 years ago

image 这里按理会有一个允许打开任意app,你试试,假如还不行,辛苦重新下载release dmg最新包,或者推特私信沟通,效率高一些 image

enlipan commented 2 years ago

用Tecent Lemon彻底删除妙言后, 重新下载最新 Release 后依次尝试了

  1. 修改权限 chmode +x /Applications/MiaoYan.app/Contents/MacOS/MiaoYan
  2. 打开任意来源, anywhere 开启.
  3. 进入Application 文件夹右键打开miaoyan.

所有的结果都是无法打开妙言 "The Application can't be opened", 之前有很多软件遇到安全中心需要验证, 可以在苹果软件设置-安全-点击"仍然打开"可以打开, 这个是第一次遇到.

以前一般会出现类似这种:

image 下文苹果安全中心文章中的这些和这次遇到的不一样:

https://support.apple.com/en-us/HT202491

不知道是不是苹果的啥抽风了, 等有空了再研究一下, 辛苦作者

tw93 commented 2 years ago

辛苦试试这个 从绕过公证(扩展)这里开始尝试 https://macwk.com/article/macos-file-damage

enlipan commented 2 years ago

尝试步骤如下: 方法一: 无效

1. $ sudo xattr -rd com.apple.quarantine /Applications/MiaoYan.app   
无效: 
> app cannot opened. 
enlipan commented 2 years ago

尝试方法 2, 使用以下方法后成功打开. 

$ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates

$ sudo codesign --force --deep --sign - /Applications/MiaoYan.app /Applications/MiaoYan.app: replacing existing signature

zhyncs commented 2 years ago

I met the same issue and use sudo codesign --force --deep --sign - /Applications/MiaoYan.app to solve it.

enlipan commented 2 years ago

I met the same issue and use sudo codesign --force --deep --sign - /Applications/MiaoYan.app to solve it.

Haha, If I met this after you, it’d save my time. But anyway, thanks for open source, and thanks to the author for giving us a fantastic app.

jievince commented 2 years ago

sudo codesign --force --deep --sign - /Applications/MiaoYan.app

对我的没有用, 我是macos 12.5.1 image

tw93 commented 2 years ago

@jievince 彻底卸载以后,安装最新1.4.3版本

jievince commented 2 years ago

彻底卸载了, 也安装的最新的, 都不行, 其他issue提到的解决方法都尝试了, 都不行.

tw93 commented 2 years ago

@jievince 我先找一下解法,有效果告知你,由于这次证书过期(哎我想骂苹果),耽误你使用了,抱歉哈 这个issue我先打开,作为跟进,回及时回复你这边

wlf92 commented 2 years ago

我也遇到一样的问题,跟着那个解锁文档全操作了还是不行。 Apple M1 2020 mac os 12.5 (21G72)

tw93 commented 2 years ago

终于修复了,辛苦 @wlf92 @jievince 使用最新版本,同时防止文件重叠,请卸载老版本。 https://github.com/tw93/MiaoYan/releases


一早我更新了一个兼容性更强的版本,请检查是否最新版本 https://github.com/tw93/MiaoYan/releases

wlf92 commented 2 years ago

大佬大佬,这个最新的貌似又不行了 Mac mini (2018) Version 12.4 (21F79)

tw93 commented 2 years ago

@wlf92 请使用最新版本1.4.7,最近被mac beta的测试版本弄吐了,等到正式版本再发布新版本好啦