解决No Certificates are available

本文解决了一位开发者在进行苹果推送时遇到的问题。通过在Stack Overflow上找到答案,了解到需要先创建一个非APN的证书来解决推送问题。详细步骤包括返回并创建一个标准的iOS开发证书,避免点击APN证书,该方法最终成功解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天在做苹果推送的时候遇到了这个问题,我明明是有证书的-------但一直解决不了

最后在stackoverflow的一个回答里找到答案了-----其实就是需要先做一个不是apn的证书出来

stackoverflow原地址:点击打开链接

解决我问题的回答是这个:
ok i had the same problem but basically you just have to go back and create a standard iOS development certificate. Don't click the APN certificate. It worked for me

sudo apt update && sudo apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common Hit:1 https://mirrors.aliyun.com/debian bookworm InRelease Ign:2 https://download.docker.com/linux/debian bookworm InRelease Hit:3 https://mirrors.aliyun.com/debian-security bookworm-security InRelease Hit:4 https://mirrors.aliyun.com/debian bookworm-updates InRelease Hit:5 https://mirrors.aliyun.com/debian bookworm-backports InRelease Ign:2 https://download.docker.com/linux/debian bookworm InRelease Ign:2 https://download.docker.com/linux/debian bookworm InRelease Hit:2 https://download.docker.com/linux/debian bookworm InRelease Err:2 https://download.docker.com/linux/debian bookworm InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.docker.com/linux/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 W: Failed to fetch https://download.docker.com/linux/debian/dists/bookworm/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8 W: Some index files failed to download. They have been ignored, or old ones used instead. W: Target Packages (stable/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_debian-bookworm.list:1 and /etc/apt/sources.list.d/docker.list:1 W: Target Packages (stable/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_download_docker_com_linux_debian-bookworm.list:1 and /etc/apt/sources.list.d/docker.list:1
最新发布
03-12
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值