Post

Replies

Boosts

Views

Activity

Xcode Server incorrectly referencing local package checkouts
FB9967910 When attempting to create or edit a Xcode Bot, additional/associated source control repositories all indicate “The source control operation failed because the specified URL cannot be used.”. This appears to be caused by the bot referencing the local directory checkouts of swift packages rather than the originating source control URLs. The ‘Replace Repositories’ button does not correct this issue, and there appears to be no other mechanism in the UI to alter the URLs. The bad URLs causes and integration to fail as package dependencies could not be resolved. Anyone experiencing the same or have some sort of resolution?
3
1
1.5k
Apr ’22
Xcode 12 Beta 2 causes Xcode Server to be unmanageable
FB7864358 Upon replacing Xcode 12.0 Beta 1 with 12.0 Beta 2, the Xcode Server settings configuration is no longer accessible. One the 'Server & Bots' preference pane the message presented is: Xcode Server Is Already Running Your computer is already configured to run Xcode Server and this version of Xcode is not compatible. If you manually switch the service off and back on, an alert is presented with the following: This version of Xcode is not supported (version is too old) I have managed to revert back to Xcode 12.0 Beta one, and continue managing my server. Has anyone had the same experience or any suggestions on getting Xcode 12.0 Beta 2 to work with Xcode Server?
2
0
1.4k
Jul ’20
Xcode Server 11 Export Archive Fails
The 11.x series of Xcode seems to have broken Xcode Server. Every bot that is configured to output an archive at the end of processing now fails.The raw output log looks like the following: /usr/bin/codesign --force --sign - --entitlements /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/IntermediateBuildFilesPath/Pocket\ Bot.build/Release-iphonesimulator/Pocket\ Bot.build/Pocket\ Bot.app.xcent /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/InstallationBuildProductsLocation/Applications/Pocket\ Bot.app RegisterExecutionPolicyException /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/InstallationBuildProductsLocation/Applications/Pocket\ Bot.app (in target 'Pocket Bot' from project 'Pocket Bot') cd /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/Source/PocketBot builtin-RegisterExecutionPolicyException /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/InstallationBuildProductsLocation/Applications/Pocket\ Bot.app Touch /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/InstallationBuildProductsLocation/Applications/Pocket\ Bot.app (in target 'Pocket Bot' from project 'Pocket Bot') cd /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/Source/PocketBot /usr/bin/touch -c /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/00e9c33f477939d77900feeab0004e34/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Pocket\ Bot/InstallationBuildProductsLocation/Applications/Pocket\ Bot.app ** ARCHIVE SUCCEEDED ** $ /usr/bin/xcrun xcodebuild -exportArchive -archivePath /Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/Pocket Bot.xcarchive -exportPath /Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/ExportedProduct -exportOptionsPlist /Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/ExportOptions.plist -IDEPostProgressNotifications=YES -DVTAllowServerCertificates=YES -DVTProvisioningUseServerAccounts=YES -allowProvisioningUpdates 2019-12-23 08:02:56.486 xcodebuild[42941:4409262] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/zp/h393vgwn2798zhzdv9kz0hrw0000gq/T/Pocket Bot_2019-12-23_08-02-56.486.xcdistributionlogs'. 2019-12-23 08:02:56.507 xcodebuild[42941:4409262] [MT] IDEDistributionMethodManager: -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error} 2019-12-23 08:02:56.507 xcodebuild[42941:4409262] [MT] IDEDistributionMethodManager: -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error} error: exportArchive: Found no compatible export methods for: <DVTFilePath:0x7ff5996eb5f0:'/Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/Pocket Bot.xcarchive'> Error Domain=IDEFoundationErrorDomain Code=1 "Found no compatible export methods for: <DVTFilePath:0x7ff5996eb5f0:'/Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/Pocket Bot.xcarchive'>" UserInfo={NSLocalizedDescription=Found no compatible export methods for: <DVTFilePath:0x7ff5996eb5f0:'/Users/xcodeserver/Library/Caches/XCSBuilder/Integration-00e9c33f477939d77900feeab000a7a2/Pocket Bot.xcarchive'>} ** EXPORT FAILED **This bot worked before the update to Xcode 11, and now does not. I've even created a new bot, on an entirely different server, and it has the same outcome.An examination of the path '/Users/xcodeserver/Library/Caches/XCSBuilder' reveals there are no integrations assets at that level, but there are 'Bot' folders. I'm wondering if the export path is missing the 'Bots/{UUID}' component.Anyone have any suggestions or possible fixes?
7
0
4k
Dec ’19