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

Carthage installation error #853

Closed
ghost opened this issue Dec 23, 2016 · 1 comment
Closed

Carthage installation error #853

ghost opened this issue Dec 23, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 23, 2016

Swift 2.3

Cartfile

github "xmartlabs/Eureka" ~> 1.7

Message

*** Building scheme "Eureka" in Eureka.xcworkspace
--- xcodebuild: WARNING: Unable to open project file '<MY_PROJECT>/Carthage/Checkouts/Eureka/Eureka.playground' in workspace '<MY_PROJECT>/Carthage/Checkouts/Eureka/Eureka.xcworkspace'.
** CLEAN FAILED **


The following build commands failed:
	Check dependencies
(1 failure)
** BUILD FAILED **


The following build commands failed:
	Check dependencies
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -workspace <MY_PROJECT>/Carthage/Checkouts/Eureka/Eureka.xcworkspace -scheme Eureka -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
--- xcodebuild: WARNING: Unable to open project file '<MY_PROJECT>/Carthage/Checkouts/Eureka/Eureka.playground' in workspace '<MY_PROJECT>/Carthage/Checkouts/Eureka/Eureka.xcworkspace'.
** CLEAN FAILED **


The following build commands failed:
	Check dependencies
(1 failure)
** BUILD FAILED **


The following build commands failed:
	Check dependencies
(1 failure)

Where <MY_PROJECT>is the path to my project!

More verbose log

Here some logs after verbose update:

“Use Legacy 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.

I already use Carthage for other libraries for this project so this may come from SwiftCharts project's configuration.

I found an issue related to this point on Carthage GitHub
And here is an interesting quote:

In Build Settings, each target should make sure it chooses "YES" or "NO" instead of unspecified for "Use Legacy Swift Language Version".

Related

I already have this kind of error with another library: ivnsch/SwiftCharts#191

Env

  • Environment: Eureka 1.7
  • Xcode 8.1
  • Swift 2.3
@leonid-s-usov
Copy link

Hey, I am having the same issue with Xcode 8.2.1
Why was this closed? Is there a solution?

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

No branches or pull requests

2 participants