xcode-server

Xcode 9 Server: Unable to boot device due to insufficient system resources

两盒软妹~` 提交于 2019-12-17 23:44:50
问题 I'm trying to run my unit tests on all device simulators from iOS 8.4 to 11.0 at the same time by checking the option 'Run test in parallel' when setting up the Xcode Bot. Unfortunately after trying to boot the 13th simulator it failes with the error message in the build log: xcodebuild: error: Failed to build workspace xxxxx with scheme yyyyy. Reason: Unable to boot device due to insufficient system resources. Testing failed on 'iPhone 4s' I'm running the server on a mac mini and i think it

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

Xcode Service: Select Git Branch

点点圈 提交于 2019-12-12 07:48:03
问题 I started to set up the new Xcode service in Mavericks. I created a new bot - but I wasn't asked for the branch it should build? How can I select the branch for each bot? I do not only want to build master , but different branches too. 回答1: In the current version, when you create the bot in Xcode, it will be linked to the currently active branch . You can easily verify (but not change) it from the web interface, when you navigate to the bot -> Bot settings (when you click the cog wheel in the

XCode Bots API configuration edit fails

扶醉桌前 提交于 2019-12-11 05:35:25
问题 I want to change via the XCode Bots API the scheme name of a bot. A request like curl -XPATCH -H 'Content-Type: application/json' -H 'x-xcsclientversion: 8' https://localhost:20343/api/bots/botid123 -d '{"name": "myawesomebot2"}' to change the bot name works. But if I try to change the configuration object with a request body like '{"configuration": {"schemeName": "scheme2"}}' it fails. How can the scheme name be modified? 回答1: I finally got this solved and want to note the pieces necessary

How to export ad-hoc archive using Xcode server

て烟熏妆下的殇ゞ 提交于 2019-12-08 02:25:41
问题 I’m using Xcode server (Xcode 9 beta 6) and defined a bot to archive and export an ad-hoc build using my ad-hoc provisioning profile. I have turned off automatic signing in the project and have defined arguments for xcodebuild in the bot Arguments window including DEVELOPMENT_TEAM, PROVISIONING_PROFILE, AD_HOC_CODE_SIGNING_ALLOWED, BUNDLE_ID, CODE_SIGN_IDENTITY and signingStyle. When I run the integration the build succeeds and a valid archive is created but exporting fails with error saying

Xcode Bots:: Creating archive failed: xcodebuild exited with status 65

余生长醉 提交于 2019-12-07 06:34:53
问题 My integration succeeded but archive fails every-time with following warning mentioned below -: **Warning: Build Service Error:** Creating archive failed: xcodebuild exited with status 65. **Warning: Build Service Error:** Skipping exporting from archive because creating the archive failed. 回答1: I had the same problem. In my case the code signing was set to automatic. When I change it to an distribution certificate it worked. 回答2: I was having this issue after updating to the Server beta. I

Xcode Server CI Bot Test Session exited(-1)

随声附和 提交于 2019-12-06 18:30:02
问题 I am getting an error when trying to run tests on XcodeServer against simulator devices. The tests sometimes pass for one device and fail for another, but the failing device is not always the same one. This can happen in a single session. The log file error is as follows: 2015-03-23 10:44:11.029 Initializing test infrastructure. 2015-03-23 10:44:11.029 Writing testing status log to /Library/Developer/XcodeServer/Integrations/Integration-7e6e54f21a2fd25cddc9df0436cb3688/Session-2015-03-23_10

How to export ad-hoc archive using Xcode server

前提是你 提交于 2019-12-06 05:58:05
I’m using Xcode server (Xcode 9 beta 6) and defined a bot to archive and export an ad-hoc build using my ad-hoc provisioning profile. I have turned off automatic signing in the project and have defined arguments for xcodebuild in the bot Arguments window including DEVELOPMENT_TEAM, PROVISIONING_PROFILE, AD_HOC_CODE_SIGNING_ALLOWED, BUNDLE_ID, CODE_SIGN_IDENTITY and signingStyle. When I run the integration the build succeeds and a valid archive is created but exporting fails with error saying the app ‘requires a provisioning profile’. Recovery suggestion is to ‘add a profile to the

Assertion: exportArchive: “Test.app” requires a provisioning profile

流过昼夜 提交于 2019-12-06 04:24:19
When I tried to integrate continuous integration using Xcode server in my Xcode9. I can successfully create the BOT and I tried to integrate then I always got the error like “Assertion: exportArchive: "Test.app" requires a provisioning profile.” How can solve this issue? I was experiencing the same problem and got it fixed following below steps. Though you get the error "exportArchive: requires a provisioning profile", successfully creates Archive but fails to create IPA. Assuming the issue is faced creating Distribution IPA, Xcode 9 has introduced continuous integration for Distribution IPA's

Setting Xcode Build Settings Terminal

心不动则不痛 提交于 2019-12-06 03:51:15
问题 I want to change build settings of a .xcodeproj without using Xcode IDE but through terminal commands (Codesigning Identity and Provisioning Profile to be exact). I have searched all over but only found commands to build/archive the project from terminal, which I Do Not Want. What I want is to just change the settings, so that when I open the project in Xcode, it has the signing identities and provisioning profile set to what I had set in Terminal. Xcodebuild command just builds/archives the