jixiaoyong / ApkSigner

A GUI-based Apk Signing Utility | 一款带GUI的Apk签名程序
GNU General Public License v3.0
122 stars 12 forks source link

[BUG] Intel 芯片的 macOS 无法安装应用 #15

Closed jixiaoyong closed 1 month ago

jixiaoyong commented 1 month ago

MacOS 14.2.1 无法安装应用

image image

Originally posted by @AlanPaine in https://github.com/jixiaoyong/ApkSigner/issues/13#issuecomment-2167395181

jixiaoyong commented 1 month ago

@AlanPaine 你好,我刚刚尝试了https://github.com/jixiaoyong/ApkSigner/releases 下面最新的 https://github.com/jixiaoyong/ApkSigner/releases/download/v1.2.1-20240528125834-alpha/ApkSigner-1.2.1.dmg 是可以正常安装运行的(我的是macOS 14.5,Apple芯片)。

可以先尝试一下这里的方案:

https://discussionschinese.apple.com/thread/254381123?sortBy=best

如果还是不行,麻烦你提供下面的信息方便定位问题:

  1. 下载的应用版本,或下载链接是什么
  2. macOS使用的是intel还是Apple芯片
  3. 之前是否成功安装过其他类似开源软件,有的话最好提供一下链接
AlanPaine commented 1 month ago

目前下载的就是最新的,电脑芯片是intel

image
AlanPaine commented 1 month ago

开发者信任模式开启了的

image image
jixiaoyong commented 1 month ago

@AlanPaine 你好,我推断是因为 Github action 默认打包的 dmg 软件是只支持 Apple 芯片的,所以没有办法在你的 intel 芯片的电脑上面使用。

但是我尝试使用 GitHub action 打包的时候对应的任务被取消了:

[mac_build_x86](https://github.com/jixiaoyong/ApkSigner/actions/runs/9518040936/job/26237986244)
The job was not started because recent account payments have failed or your spending limit needs to be increased. Please check the 'Billing & plans' section in your settings.

可能和账单限额有关,暂时尚未解决。

如果你着急用的话,可以下载本项目源码,使用 idea 打开同步必要资源之后,在右侧工具栏找到 gradle 选择: ApkSigner -> Tasks -> compose desktop -> packageReleaseDistributionForCurrentOS 双击运行,打包你自己的 dmg 软件使用。

jixiaoyong commented 1 month ago

Hello,@AlanPaine 刚刚打包出了 Intel 芯片的安装包,https://github.com/jixiaoyong/ApkSigner/releases/tag/v1.2.1-20240615100537-alpha ,可以直接点击链接下载https://github.com/jixiaoyong/ApkSigner/releases/download/v1.2.1-20240615100537-alpha/ApkSigner-1.2.1-x86_64.dmg

我这边没有 Intel 芯片的 macOS,如果你尝试过了麻烦告知这个包是否可以正常运行。

AlanPaine commented 1 month ago

Hello,@AlanPaine 刚刚打包出了 Intel 芯片的安装包,https://github.com/jixiaoyong/ApkSigner/releases/tag/v1.2.1-20240615100537-alpha ,可以直接点击链接下载https://github.com/jixiaoyong/ApkSigner/releases/download/v1.2.1-20240615100537-alpha/ApkSigner-1.2.1-x86_64.dmg

我这边没有 Intel 芯片的 macOS,如果你尝试过了麻烦告知这个包是否可以正常运行。

可以了谢谢,但是有一个问题一直提示签名查询失败

image
jixiaoyong commented 1 month ago

这个错误是在【签名APP】页面的【当前选中的apk文件】点了【查看签名】出现的吗?(按理说只有这个时候会触发)

方便的话可以选择【设置信息】滑动到底部的【日志文件目录】,点击【打开】选择最近的几份的日志文件,查看错误原因,或者发出来(注意搜索--key-pass隐藏密码信息)

jixiaoyong commented 1 month ago

很久没收到回复,关闭此贴,如果还有其他问题,请新建 issue 反馈。