Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swiftlint 0.53.0 to fix build in CI #251

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

maximiliansoelch
Copy link
Member

@maximiliansoelch maximiliansoelch commented Nov 16, 2023

Currently, the build pipeline fails with the following output:

16-Nov-2023 13:41:41 | [13:41:41]: $ set -o pipefail && xcodebuild -scheme Themis -project ./Themis.xcodeproj -configuration Release -derivedDataPath .DerivedData -clonedSourcePackagesDirPath .SwiftPackages -destination 'generic/platform=iOS' -archivePath /Users/bamboobuildagent/Library/Developer/Xcode/Archives/2023-11-16/App\ 2023-11-16\ 13.41.41.xcarchive -skipPackagePluginValidation clean archive \| tee /Users/bamboobuildagent/Library/Logs/gym/Themis-Themis.log \| xcpretty
-- | --
16-Nov-2023 13:41:41 | [13:41:41]: ▸ Ignoring digest-crc-0.6.4 because its extensions are not built. Try: gem pristine digest-crc --version 0.6.4
16-Nov-2023 13:41:41 | [13:41:41]: ▸ Ignoring unf_ext-0.0.8.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.8.2
16-Nov-2023 13:41:45 | [13:41:45]: ▸ Clean Succeeded
16-Nov-2023 13:41:49 | [13:41:49]: ▸ ** ARCHIVE FAILED **
16-Nov-2023 13:41:49 | [13:41:49]: ▸ The following build commands failed:
16-Nov-2023 13:41:49 | [13:41:49]: ▸         ComputeTargetDependencyGraph
16-Nov-2023 13:41:49 | [13:41:49]: ▸ (1 failure)
16-Nov-2023 13:41:49 | Ignoring digest-crc-0.6.4 because its extensions are not built. Try: gem pristine digest-crc --version 0.6.4
16-Nov-2023 13:41:49 | Ignoring unf_ext-0.0.8.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.8.2
16-Nov-2023 13:41:49 | ▸ Clean Succeeded
16-Nov-2023 13:41:49 | ** ARCHIVE FAILED **
16-Nov-2023 13:41:49 |  
16-Nov-2023 13:41:49 |  
16-Nov-2023 13:41:49 | The following build commands failed:
16-Nov-2023 13:41:49 | ComputeTargetDependencyGraph
16-Nov-2023 13:41:49 | (1 failure)
16-Nov-2023 13:41:49 | [13:41:49]: Exit status: 65
16-Nov-2023 13:41:49 | [13:41:49]:

Setting the SwiftLint version to 0.53.0 (see realm/SwiftLint#5352) fixes the issue and the builds succeed again.

@maximiliansoelch maximiliansoelch changed the title Add swiftlint 0.53.0 to potentially fix build in CI Add swiftlint 0.53.0 to fix build in CI Nov 16, 2023
@maximiliansoelch maximiliansoelch merged commit 4302fba into develop Nov 16, 2023
@maximiliansoelch maximiliansoelch deleted the fix-build branch November 16, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant