-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
I've been unsuccessfully trying to add this project as a Carthage dependency.
In the console I get:
*** Building scheme "DynamicColor" in DynamicColorExample.xcodeproj
Build Failed
Task failed with exit code 65:
...
And the file clearly prints out the error:
/Users/mario/Projects/tests/DCTest/Carthage/Checkouts/DynamicColor/Sources/SwiftUIColor.swift:30:18: error: use of undeclared type 'Color'
public extension Color {
^~~~~
** ARCHIVE FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
CompileSwift normal armv7
(3 failures)
To Reproduce
Steps to reproduce the behavior:
- Add
github "yannickl/DynamicColor" >= 5.0.01in Cartfile - Run
carthage bootstrap/update - See error
Expected behavior
A clear and concise description of what you expected to happen.
Smartphone (please complete the following information):
- Carthage version: 0.34.0
- MacOS: tried on Mojave and Catalina
Additional context
I did try to debug the error, but I failed. The line in question is using the struct from SwiftUI, and it's enclosed with @available attribute, but still it somehow fails 🤷♂
Metadata
Metadata
Assignees
Labels
No labels