[GH-ISSUE #540] Swift Package cannot be resolved #412

Closed
opened 2026-05-05 05:57:31 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @coolcoolkg21 on GitHub (Aug 26, 2021).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/540

Before opening the issue, have you...?

  • Searched for existing issues

Question

Dear authors,

I cloned the project to my mac and try to run with Xcode. It shows an error: Failed to resolve dependencies because Preferences >=2.3.0 contains incompatible tools version and root depends on Preferences 2.3.0..<3.0.0, version solving failed. I've tried and failed doing "Reset Packages Caches", "Resolve Packages Versions", and "Update to Latest Package Versions".
Can anyone help me out? I'm using Xcode 12.2, Swift version 5.4 on M1 Macbook Pro.
Thank you so much.
Screen Shot 2021-08-26 at 5 59 38 PM

Originally created by @coolcoolkg21 on GitHub (Aug 26, 2021). Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/540 ### Before opening the issue, have you...? - [X] Searched for existing issues ### Question Dear authors, I cloned the project to my mac and try to run with Xcode. It shows an error: Failed to resolve dependencies because Preferences >=2.3.0 contains incompatible tools version and root depends on Preferences 2.3.0..<3.0.0, version solving failed. I've tried and failed doing "Reset Packages Caches", "Resolve Packages Versions", and "Update to Latest Package Versions". Can anyone help me out? I'm using Xcode 12.2, Swift version 5.4 on M1 Macbook Pro. Thank you so much. <img width="952" alt="Screen Shot 2021-08-26 at 5 59 38 PM" src="https://user-images.githubusercontent.com/32273610/130943332-014b2ed0-52c3-4bf9-a9de-bb506d944bdf.png">
Author
Owner

@waydabber commented on GitHub (Aug 26, 2021):

I think the current version of Preferences requires at least XCode 12.5:

https://github.com/sindresorhus/Preferences

You should try upgrading XCode (you can use XCode 13 beta 5 as well).

<!-- gh-comment-id:906434955 --> @waydabber commented on GitHub (Aug 26, 2021): I think the current version of Preferences requires at least XCode 12.5: https://github.com/sindresorhus/Preferences You should try upgrading XCode (you can use XCode 13 beta 5 as well).
Author
Owner

@waydabber commented on GitHub (Aug 26, 2021):

I'll close this issue for now but feel free to comment if you have any questions regarding this! Thank you!

<!-- gh-comment-id:906600307 --> @waydabber commented on GitHub (Aug 26, 2021): I'll close this issue for now but feel free to comment if you have any questions regarding this! Thank you!
Author
Owner

@coolcoolkg21 commented on GitHub (Sep 2, 2021):

It works! Thank you.

<!-- gh-comment-id:911205431 --> @coolcoolkg21 commented on GitHub (Sep 2, 2021): It works! Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#412
No description provided.