使用`ipa build`和`deliver`工具(自动提交应用程序)后无效的临时配置文件错误

时间:2015-07-17 10:50:15

标签: ios xcode app-store itunesconnect fastlane

我一直在使用https://fastlane.tools提供的fastlane工具来生成临时配置文件并将应用程序提交到iTunes连接。

命令序列:

$fastlane init
$cert
$produce
$sigh

在此之后,将自动下载与App Store上的分发相对应的临时配置文件。之后执行deliver命令,并根据guide在deliverfile中添加此语句 -

ipa do
      system("ipa build --verbose") 
      "./AppName.ipa" 
end

它成功生成.ipa文件但无法将应用程序提交到iTunes连接。生成以下错误 -

  

[15:57:54]:[Transporter Error Output]:ERROR ITMS-90161:"无效的配置文件。包com.razeware.ScaryBugsZo [Payload / ScaryBugsZo.app]中包含的配置文件无效。 [缺少代码签名证书]。在将应用程序提交到App Store时,应使用分发配置文件。有关更多信息,请访问iOS Developer Portal。"

虽然使用fastlane生成的相同临时配置文件,但我可以使用xCode上传构建版本。我的最终目标是从一个苹果ID自动在iTunes连接上提交多个应用程序。为此,sigh成功生成临时配置文件。我需要一种方法来使用deliver或其他方法自动上传构建。

1 个答案:

答案 0 :(得分:1)

I can recommend checking out the official fastlane code signing guide that shows you the various ways to do code signing.