首页 > 解决方案 > 使用 VS Appcenter 构建 React Native App - p12 密码错误?

问题描述

我正在按照本教程获取使用 Windows 构建的 react 本机应用程序,以便在我的 iOS 设备上运行。

当我上传我的 p12 证书时,系统会提示我输入创建它时提供的密码,但是此构建失败并出现以下错误

security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?)
##[error]Error: The process '/usr/bin/security' failed with exit code 1
##[section]Finishing: Install Apple certificate

密码是正确的,如果我在上传时故意输入了错误的密码,appcenter UI 会说密码错误,所以如果一开始就不正确,你甚至无法进入构建步骤。

我错过了什么吗?

标签: react-nativevisual-studio-app-centervisual-studio-app-center-distribute

解决方案


推荐阅读