emaloney / CleanroomLogger

CleanroomLogger provides an extensible Swift-based logging API that is simple, lightweight and performant
MIT License
1.32k stars 153 forks source link

Carthage Failing #87

Closed clayellis closed 7 years ago

clayellis commented 7 years ago

Cartfile:

...
github "emaloney/CleanroomLogger" ~> 6.0.0
...

Error on carthage update --platform iOS:

=== BUILD TARGET CleanroomLogger OF PROJECT CleanroomLogger WITH CONFIGURATION Release ===

Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
warning: no umbrella header found for target 'CleanroomLogger', module map will not be generated

** BUILD FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
emaloney commented 7 years ago

Note that CleanroomLogger 6.0.0 uses Swift 4 and requires Xcode 9. Most of the problems like the one you're describing are a result of using a version of CleanroomLogger not compatible with the version of Xcode you're running.

Could you tell me what version of Carthage & Xcode you're using?

In particular, the output of xcode-select -p would be helpful.

clayellis commented 7 years ago

@emaloney D'oh! I forgot I had switched versions yesterday to build an old project and forgot to switch back. Thanks for the pointer!

emaloney commented 7 years ago

👍