xcode-bots

XCode Bot Error: “internal-post-timeseries-error”

↘锁芯ラ 提交于 2020-01-02 04:53:45
问题 I've got the new OSX Mavericks Server set up to run the tests for my iOS project through a Bot. While the build and the tests to run and everything passes just fine, the actual integration is reported as a failure. The following error appears several times towards the end of the bot's log file: [https]Request{XCBotService.updateBot:({ guid = "c5e4cf65-5a99-5a99-6ac7-e19d4fd9600f"; latestFailedBotRunGUID = "46c2cc1f-2c0d-4613-901a-3285ccf7c4cf"; latestRunStatus = failed; latestRunSubStatus =

Can a build be marked as failed from an Xcode bot trigger script?

橙三吉。 提交于 2019-12-24 15:26:36
问题 I'm using a post-build trigger script in an Xcode bot to run some tests through Appium. I've gotten it to run, but I can't find any way to mark the build as failed if the tests fail. Is this possible, or should I just email the results for now and wait to move to a different CI system? Documentation for these bot trigger scripts is sketchy at best. 来源: https://stackoverflow.com/questions/28614615/can-a-build-be-marked-as-failed-from-an-xcode-bot-trigger-script

Xcode Bot: how to get .ipa path on a post trigger script?

只愿长相守 提交于 2019-12-22 04:58:22
问题 I'm using a bot to archive an iOS app, and I need to get the .ipa product path in order to publish it into our distribution system. Bot settings: And using a script to print all env variables, non of them contains a path to the ipa file. In addition, some of the variables are pointed to directory that does not exist, i.e: XCS_OUTPUT_DIR Here the env variable output: XCS=1 XCS_ANALYZER_WARNING_CHANGE=-31 XCS_ANALYZER_WARNING_COUNT=0 XCS_ARCHIVE=/Library/Developer/XcodeServer/Integrations

Continuous Integration and Deployment: Bots + Testflight Api on Itunes Connect

本秂侑毒 提交于 2019-12-22 04:03:26
问题 Is there anyway I can send an ipa generated by bots to itunes connect, using testflight api? I know that testflight has an api to upload .ipas but I'm not sure if I can use it with the latest changes on itunes connect and with the integration of testflight on Apple systems. This is something that I'm currently accomplishing with jenkins + custom distribution channel and a few shell scripts files. I wonder if it is possible to do with = Bots + Triggers + Testflight API + Itunes Connect . 回答1:

Where do Xcode Bots put their results, so I can parse them?

两盒软妹~` 提交于 2019-12-21 05:24:32
问题 Our dev team has always used Jenkins for our iOS builds, and used Philips Hue lights to inform the team when the build is Building(Yellow), Successful(Green), Failed(Red). Now we have moved to Xcode CI and Bots, and I do not know when any unit tests fail. We don't even know if the build phase failed. On Xcode Bots CI you get this "bigscreen" feature: In Apple's "Manage and Monitor Bots from a Web Browser" Docs, you can see that it has all sorts of states that could key up a hue light. I

Pod Install in Xcode Bots Trigger

那年仲夏 提交于 2019-12-21 05:06:59
问题 I started the pre integration trigger with the following cd "${XCS_PRIMARY_REPO_DIR}" pwd pod install --verbose And it gave me pod: command not found Simple right? Can't find the pod binary so, I'll just point it over to the path. Easy. cd "${XCS_PRIMARY_REPO_DIR}" pwd /usr/local/bin/pod install --verbose Which gives me the following env: ruby_executable_hooks: No such file or directory This makes me think ruby isn't set up right to run for the triggers. Now understand a simple "pod install"

Xcode bot fails with “no activity for too long” error

六月ゝ 毕业季﹏ 提交于 2019-12-20 11:37:14
问题 My Xcode bot integrations fail with the following error. Assertion: Running task was terminated because it produced no activity for too long. From the bottom of the log: Sampling completed, processing symbols... Sample analysis of process 4470 written to file /Library/Developer/XcodeServer/Integrations/Integration-ef7a2c98cd2307fc71923f1123ea23f7/4470.sample sample[5774]: sample cannot find any existing process you have access to which has a name like 'Interface Builder Cocoa Touch Tool'; try

Access build folder in Xcode Server CI bot run (env variables?)

柔情痞子 提交于 2019-12-18 12:29:09
问题 I need to access the folder that is created dynamically during each bot integration. On one of the run it is something like this - /Library/Developer/XcodeServer/Integrations/Caches/ a3c682dd0c4d569a3bc84e58eab88a48 /DerivedData/Build/Products/Debug-iphonesimulator/my.app I would like to get to this folder in an post trigger, how do I go about it? Based on the wwdc talk it seems like some environment variables like 'XCS_INTEGRATION_RESULT' and XCS_ERROR_COUNT etc.. are being used. Also I can

All Xcode Bots Tests Pass, but why does it fail integration with “No tests found”?

萝らか妹 提交于 2019-12-13 02:22:28
问题 I run xcode bots with 188 tests and they all pass, but it shows a failure on the bot web page: You can also see that running the bots again pass. The failures happen intermittently but it is not rare. The Summary tab shows that the failing integration has no results: Also, all the tests pass, seen here: I did find this in the build log: Mar 13 13:04:11 testowlmacmini.local xcsbuildd[97650] <Error>: [XCSBuildBundle.m:787 756b6310 +0ms] Got an error from the post timeseries data operation:

Xcode Server Bot integration fails to export archive: Error Domain=IDEDistributionErrorDomain Code=1 “The operation couldn’t be completed.”

人盡茶涼 提交于 2019-12-12 20:07:29
问题 2016-02-17 13:54:56.823 xcodebuild[26605:1155454] [MT] IDEBuildOperationQueueSetResourceManagement: Resetting max operation count to 6 ** ARCHIVE SUCCEEDED ** $ /usr/bin/xcrun xcodebuild -exportArchive -archivePath /Library/Developer/XcodeServer/Integrations/Integration-5041ec1e03066c77e1e1af601c03e78a/CardApp.xcarchive -exportPath /Library/Developer/XcodeServer/Integrations/Integration-5041ec1e03066c77e1e1af601c03e78a/ExportedProduct -exportOptionsPlist /Library/Developer/XcodeServer