Expo应用iOS描述证书过期-如何分配新证书



我第一次将我的应用程序放入iOS应用程序商店已经一年了。我最近收到以下邮件出现在我的收件箱中。

您的iOS分发证书在30天内将不再有效

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

未被任何应用程序使用

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

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

没有压力,来自关于应用程序签名的expo文档

删除分发证书对应用商店中已存在的任何应用程序都没有影响

eas-cli

eas login
eas credentials
? Select platform › - Use arrow-keys. Return to submit.
Android
❯   iOS
✔ Do you want to log in to your Apple account? … yes
› Log in to your Apple Developer account to continue
? Select a Provider ›
Random profile (123456789)
❯   Company name (123456789)
? What do you want to do? › - Use arrow-keys. Return to submit.
❯   Build Credentials: Manage everything needed to build your project
✔ What do you want to do? › Distribution Certificate: Add a new one to your account
? Generate a new Apple Distribution Certificate? › (Y/n)

✔ Created Apple distribution certificate
✔ Created distribution certificate
? Do you want application-name to use the new Distribution Certificate? › (Y/n)

🎉全部完成

您可以在上仔细检查证书

  • 世博会仪表盘https://expo.dev/accounts/company-name/settings/credentials
  • 苹果开发者https://developer.apple.com/account/resources/certificates/list

expo-cli-过时

您可以从终端管理一切

expo login
expo credentials:manager # or eas credentials
✔ Select platform › ios

然后选择更新分发证书

? What do you want to do? › - Use arrow-keys. Return to submit.
Use existing Push Notifications Key in current project
Use existing Distribution Certificate in current project
Remove Provisioning Profile
Add new Push Notifications Key
Remove Push Notification credentials
Update Push Notifications Key
Add new Distribution Certificate
Remove Distribution Certificate
❯   Update Distribution Certificate

去年我通过Expo sdk对该应用程序进行了新的构建,这促使我在那个阶段创建了一个新的证书。

要将新的分发证书分配给您的应用程序,您需要使用新证书重新构建应用程序,并将其重新提交到应用程序商店。以下是步骤:

Open Xcode and go to the "Preferences" tab.
Select "Accounts" and click on your Apple Developer account.
Select "View Details" and find your old distribution certificate.
Click on the "Revoke" button to revoke the old certificate.
Go back to the Apple Developer account and create a new distribution certificate.
Download the new certificate and double-click it to install it on your computer.
Go back to Xcode and select your new certificate from the "Code Signing Identity" section.
Rebuild your app and submit the updated version to the app store.

请注意,吊销旧证书并提交新版本的应用程序将要求您再次完成应用程序审查过程。

最新更新