无效的密码?在新机器上发送 iOS 调试版本时

Invalid password? when sending iOS debug build on new machine

我们遇到了以下问题:

一个现有的 CN1 项目在 机器 A (Windows) 上运行良好,我们可以将 iOS 构建发送到服务器。

现在我们还想在 机器 B (MacOS) 上处理该项目,但我们无法让它工作。

我们不断在服务器上收到构建错误。 虽然我们使用相同的证书、配置文件和登录设置。

错误日志显示密码可能存在问题(见下文)。 我们在 build.xml 中放了一个 echo 语句来回显密码,它是正确的。 那么可能是什么问题?

下面是错误日志的最后一部分:

[!] Please close any current Xcode sessions and use Maximus.xcworkspace for this project from now on. Sending stats Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

[!] The Podfile does not contain any dependencies. Process return code is 0 openssl pkcs12 -in [password redacted] -out cert.crt.pem -password pass:passwordHidden -passout pass:password Process return code is 0 Mac verify error: invalid password? Process return code is 1

codenameone_settings.properties 中证书的密码在另一台机器上以某种方式被破解。这与您的帐户无关。

比较两个 codenameone_settings.properties 文件还要确保密码不是全局定义的,在这种情况下您可能需要重新定义它。需要明确的是,我指的是设置中的一个或两个 ios.certificatePassword 值。