ios - 无法自动生成配置文件和证书

标签 ios nativescript nativescript-angular

我是 NativeScript 开发的新手,正在尝试将我的应用程序安装到我的个人 iPhone 上进行测试。

尝试使用我的 Apple ID 自动生成配置文件和证书时,出现错误:

An error has occurred while generating the certificate and mobile provision. Reason: Two-step verification not supported at the moment..

我已经登录到我的 Apple ID 管理页面:https://appleid.apple.com/account/manage但是没有关闭双因素身份验证的选项。

NativeScript 站点上的“帮助”说明:https://docs.nativescript.org/sidekick/user-guide/code-signing/code-signing-for-ios/code-signing-assistance只有自动生成的步骤。

我试着去:https://developer.apple.com/account/resources/但这告诉我“无法访问”并且我必须注册开发人员计划。

我需要做什么来创建证书并配置我的应用程序?

我应该补充一点,NativeScript 站点说明似乎也已过时,因为 Apple Developer Site 页面没有他们所指的任何导航元素,这对初学者来说更加复杂。

我的猜测是,在某个时候所有这些都是免费的,现在 Apple 每年对开发者帐户收费 99 美元,否则根据 NativeScript 网站上的文档,这些内容都不会显示。

最佳答案

您仍然可以创建 iOS 应用并将其部署到您的设备上,但在免费版本下,您有 7 天的时间进行配置。今年苹果还强制执行了两步验证,但这对于免费帐户来说不是必需的:

https://developer.apple.com/support/authentication/

Who is required to enable it? Only developers with the Account Holder role (formerly the “Team Agent”) in the Apple Developer Program, Apple Developer Enterprise Program, or iOS Developer University Program need to enable two-factor authentication. Developers who are registered for a free account or who have other team roles are not required to enable two-factor authentication.

管理这些东西一直是一场噩梦,但如果您确实有 Apple 的免费帐户,请使用 Sidekick 的功能来为您管理此内容: https://docs.nativescript.org/sidekick/user-guide/code-signing/code-signing-for-ios/code-signing-assistance

请记住,如果您打开了两步身份验证,您将无法使用此功能。

关于ios - 无法自动生成配置文件和证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58514258/

相关文章:

iphone - 您如何在iPhone上以卡拉OK风格显示歌曲歌词?

android - GridLayout 中的 Nativescript 垂直对齐不起作用

android-emulator - 使用 Visual Studio 模拟器运行的 Nativescript 项目

ios - 未处理的 Promise 拒绝 : ImageSource. setNativeSource() 需要 UIImage 实例

nativescript |layouts 为 ngFor 循环创建 ui

nativescript - 如何从 NativeScript Angular 中的 native ios 访问 UIScrollview 委托(delegate)?

ios - NativeScript ListView 滚动事件

iphone - 如何在 appdelegate 中获取指向 viewcontroller 对象的指针

iOS 保持状态栏为纵向

ios - UICollectionViewDropDelegate 破坏了 UICollectionView 中的重新排序单元机制