在没有与设备配对的 Apple-ID 的情况下签署应用程序以进行两步验证

Sign apps without an Apple-ID paired to a device for two step verification

我有一个供个人使用的 Apple-ID 和一个供我的专业使用的 Apple-ID,我用它来签署我的应用程序。现在 Apple 需要开启两步授权(不要与 2 因素授权混淆)。这需要将您的其中一台设备与您的专业 Apple-ID 配对,以使用 Xcode 登录并为应用程序签名。 由于我的 iPhone 和 MacBook 都与我的个人 AppleID 配对,因此我无法再对我的应用程序进行签名。

我试过在我的 MacBook 上切换帐户,签署一个应用程序然后切换回来,但这并没有持续多久。每次要签APP都要这么麻烦。

有什么我可以做的让这更容易吗?我可以想象我不是唯一遇到这个问题的人..

谢谢,

巴特

如果您使用的是两步验证,则应升级到两步验证。如果您无法升级到 2-factor,您可以通过短信接收两步验证码,这应该不需要您的设备登录开发者帐户。

查看以下支持文章:https://developer.apple.com/support/account/authentication/。 "More Information" 标题下的以下答案可能与您的案例特别相关,但请务必阅读整篇文章。

How can I use different Apple IDs for iCloud and my Apple Developer account? If your personal Apple ID is different from the Apple ID associated with your Apple Developer account, you can configure your device to allow verification codes to be received for both Apple IDs.

  • If your Apple IDs are already enabled for two-factor authentication: On your iOS device Add your developer Apple ID to your device running iOS 12 or later at Settings > Passwords & Accounts > Add Account > iCloud. Your device is now set up to receive verification codes for both your personal and developer Apple IDs. On your Mac Add your developer Apple ID to your Mac running OS X El Capitan or later at System Preferences > Internet Accounts > iCloud. Your Mac is now set up to receive verification codes for both your personal and developer Apple IDs.

  • If your Apple IDs are not yet enabled for two-factor authentication: On your iOS device Enable two-factor authentication for your personal Apple ID at Settings > iCloud > Password & Security > Two-Factor Authentication. Sign out of iCloud on your iOS device at Settings > iCloud > Sign Out. Sign in to iCloud on your device with your developer Apple ID. Enable two-factor authentication for your developer Apple ID at Settings> iCloud > Password & Security > Two-Factor Authentication. Sign in to iCloud on your iOS device with your personal Apple ID. Add your developer Apple ID to your device at Settings > Passwords & Accounts > Add Account > iCloud. Your device is now set up to receive verification codes for both your personal and developer Apple IDs. On your Mac Enable two-factor authentication for your personal Apple ID at System Preferences > iCloud > Account Details > Security. Create a new system account on your Mac for your developer Apple ID at System Preferences > Users & Groups. Sign in to your new developer system account and enable two-factor authentication for your developer Apple ID at System Preferences > iCloud > Account Details > Security. Sign in to your primary system account and add your developer Apple ID to your Mac at System Preferences > Internet Accounts > iCloud. Your Mac is now set up to receive verification codes for your personal and developer Apple IDs on your primary user account. You can also receive verification codes for multiple Apple IDs via text message or phone call to your trusted phone number rather than through iCloud.

What if I’ve enabled two-step verification? If your Apple ID has two-step verification enabled and two-factor authentication is available in your country or region, you will need to update to two-factor authentication for increased security.

Can I use the same trusted phone number for multiple Apple IDs? Yes. You can assign the same trusted phone number to multiple Apple IDs that you use.

此处有更多关于两步验证的信息:https://support.apple.com/en-us/HT204152,如果您无法升级到 2 步验证,这可能会有所帮助。