Expo 应用程序 iOS 分发证书已过期 - 如何分配新的?

use*_*707 9 iphone certificate ios expo

自从我第一次将我的应用程序放入 iOS 应用程序商店以来,已经过去了大约一年的时间。最近,我的收件箱中出现了以下消息。

您的 iOS 分发证书将在 30 天后失效

我尝试在 expo-cli 中创建一个新的分发证书,我已经成功完成,现在出现在 Apple 开发人员的证书部分中,但是当我列出它们时,expo-cli 中的证书会在新证书下方显示

未被任何应用程序使用

如何将这个新证书分配给我的旧应用程序?还是旧的用完后会自动切换?

任何帮助将不胜感激,我真的很想在旧证书用完时让我的应用程序在应用程序商店中保持活动状态。

Dav*_*tte 11

没有压力,来自有关应用程序签名的博览会文档

\n
\n

删除分发证书对 App Store 上已有的任何应用程序没有影响

\n
\n

eas-cli

\n
eas login\neas credentials\n
Run Code Online (Sandbox Code Playgroud)\n
? Select platform \xe2\x80\xba - Use arrow-keys. Return to submit.\n    Android\n\xe2\x9d\xaf   iOS\n
Run Code Online (Sandbox Code Playgroud)\n
\xe2\x9c\x94 Do you want to log in to your Apple account? \xe2\x80\xa6 yes\n\n\xe2\x80\xba Log in to your Apple Developer account to continue\n
Run Code Online (Sandbox Code Playgroud)\n
? Select a Provider \xe2\x80\xba\n    Random profile (123456789)\n\xe2\x9d\xaf   Company name (123456789)\n
Run Code Online (Sandbox Code Playgroud)\n
? What do you want to do? \xe2\x80\xba - Use arrow-keys. Return to submit.\n\xe2\x9d\xaf   Build Credentials: Manage everything needed to build your project\n
Run Code Online (Sandbox Code Playgroud)\n
\xe2\x9c\x94 What do you want to do? \xe2\x80\xba Distribution Certificate: Add a new one to your account\n? Generate a new Apple Distribution Certificate? \xe2\x80\xba (Y/n)\n
Run Code Online (Sandbox Code Playgroud)\n

是的

\n
\xe2\x9c\x94 Created Apple distribution certificate\n\xe2\x9c\x94 Created distribution certificate\n? Do you want application-name to use the new Distribution Certificate? \xe2\x80\xba (Y/n)\n
Run Code Online (Sandbox Code Playgroud)\n

是的

\n

全做完了

\n

您可以在以下位置仔细检查证书:

\n\n

expo-cli- 过时的

\n

您可以从终端管理一切

\n
expo login\nexpo credentials:manager # or eas credentials\n
Run Code Online (Sandbox Code Playgroud)\n
\xe2\x9c\x94 Select platform \xe2\x80\xba ios\n
Run Code Online (Sandbox Code Playgroud)\n

然后选择更新分发证书

\n
? What do you want to do? \xe2\x80\xba - Use arrow-keys. Return to submit.\n    Use existing Push Notifications Key in current project\n    Use existing Distribution Certificate in current project\n    Remove Provisioning Profile\n    Add new Push Notifications Key\n    Remove Push Notification credentials\n    Update Push Notifications Key\n    Add new Distribution Certificate\n    Remove Distribution Certificate\n\xe2\x9d\xaf   Update Distribution Certificate\n\n
Run Code Online (Sandbox Code Playgroud)\n

  • 2023 年 2 月此处:此处所需的命令已更新为“eascredentials”,并且“expocredentials:manager”将不再起作用 - 当您尝试在凭证管理器中实际执行任何操作时,您将收到 Apple 身份验证错误。使用“eascredentials”似乎可以按预期工作。请参阅:https://github.com/expo/eas-cli/issues/1677 (2认同)

use*_*707 1

我去年所做的是通过 Expo sdk 构建了新的应用程序,它促使我在该阶段创建一个新证书。