- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
问题:如何使用 Deliver 从运行在 Xcode 7 和 Server 4.1 上的机器人将 IPA 上传到 itunesconnect?
我已经能够在 Xcode 6.4、使用机器人的 Server 4.1 和 Deliver 中设置持续集成解决方案。 (通过快车道)。升级到 Xcode 7 beta-3 后,我的机器人停止工作。
以下是我为 Xcode 6.4 所做的工作的简要概述:
gem install --user-install deliver
#运行安装 Gem export PATH=$PATH:/var/_xcsbuildd/.gem/ruby/2.0.0/bin
#运行以将 gem 添加到路径 echo `DELIVER_PASSWORD="Password"
/var/_xcsbuildd/.gem/ruby/2.0.0/bin/deliver testflight
"${IPA_PATH}" -a 101233338 -u example@gmail.com --beta`
xcrun xcodebuild -exportArchive -archivePath
$XCS_ARCHIVE -exportPath $XCS_ARCHIVE
-exportOptionsPlist /Library/Developer/XcodeServer/ExportOptions.plist
-IDEPostProgressNotifications=YES
-DVTAllowServerCertificates=YES
-DVTSigningCertificateSourceLogLevel=3
-DVTSigningCertificateManagerLogLevel=3
-DTDKProvisioningProfileExtraSearchPaths=/Library/Developer/XcodeServer/ProvisioningProfiles
echo `DELIVER_PASSWORD="Password"
/var/_xcsbuildd/.gem/ruby/2.0.0/bin/deliver testflight
"${IPA_PATH}" -a 101233338 -u example@gmail.com --beta`
ESC[37m[12:03:08]: ESC[0mESC[32mReady to upload new build to TestFlight (CiTest - 1018099468)ESC[0m
ESC[37m[12:03:08]: ESC[0mUploading ipa file to iTunesConnect
ESC[37m[12:03:08]: ESC[0mGoing to upload updated app to iTunesConnect
ESC[37m[12:03:08]: ESC[0mESC[32mThis might take a few minutes, please don't interrupt the scriptESC[0m
ESC[37m[12:03:08]: ESC[0mESC[32mWaiting for iTunes Connect transporter to be finished.ESC[0m
ESC[37m[12:03:08]: ESC[0mESC[32miTunes Transporter progress... this might take a few minutes...ESC[0m
最佳答案
我从苹果开发者论坛找到了这个帖子:
https://forums.developer.apple.com/thread/9812
万一打不开。有人说
It seems that Xcode bot trigger scripts have a 10 second timeout - which is far too short to do any useful work. I can replicate this by adding a "Before Integration" trigger containing nothing but a call to "sleep 10". When the integration runs, it fails with the error "terminated xcodebuild since it produced no output for too long".
make sure you produce some output when your longer running task is running? Not a fix, but might be a workaround.
I have done this and the error no longer occurs. I was using a bash script and needed to echo the output from time to time to workaround this issue.
关于Xcode 7 + Bots + FaSTLane : How to automatically deploy an app to itunes connect using FaSTLane's Deliver,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31377758/
我是一名优秀的程序员,十分优秀!