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

[BUG] CI system not resolving dependencies when using Adyen together with a private repository #2042

Open
MarcGarciaSunweb opened this issue Mar 7, 2025 · 1 comment
Labels

Comments

@MarcGarciaSunweb
Copy link

Describe the bug
Github workflow not resolving dependencies when project has as a dependency Adyen (from 5.2.0) and a private library.

To Reproduce

  1. Have a project with the dependencies Adyen (from 5.2.0) and another dependency stored on a private repository on Github
  2. Configure a Github workflow to run the following command:
xcodebuild -resolvePackageDependencies -scheme {scheme} -project {projectPath} -disableAutomaticPackageResolution
  1. Run the workflow. The workflow would hang forever without being able to complete

Expected behavior
Github workflow is able to resolve package dependencies when having private repositories

Environment

  • Mac OS: 15
  • Xcode version: 16.2
  • Package Management System: SPM
  • Adyen Version: >= 5.2.0

Additional context
Upon deeper investigation, the issue is caused by https://github.com/SwiftGen/SwiftGenPlugin which is a dependency that Adyen added on version 5.2.0
When resolving package dependencies having this dependency on the list, the process hangs undefinable if there is another dependency that's stored on a private repository.

The problem has been reproduced with Github Workflows, but has been impossible to reproduce it locally where it solves the dependencies fine.

@descorp
Copy link
Contributor

descorp commented Mar 10, 2025

Hey @MarcGarciaSunweb

What version of swift are you using?
Seem like SwiftGen requires Swift 5.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants