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

Current master commit does not build #42

Closed
dolfs opened this issue Oct 25, 2016 · 2 comments
Closed

Current master commit does not build #42

dolfs opened this issue Oct 25, 2016 · 2 comments

Comments

@dolfs
Copy link

dolfs commented Oct 25, 2016

I am attempting to use this, with RocketData, in a Swift 3 based project with Xcode 8. I am referring my cart file to the master branch to get the latest (for now). My project is an iOS project, setup for universal and configured to run on the simulator.

When running carthage update I get this:

*** Checking out ConsistencyManager-iOS at "5ed13ecc9d3492dc08ce6c6787d705ea708ee226" *** Building scheme "ConsistencyManager" in ConsistencyManager.xcodeproj Failed to write to /Users/aname/Documents/Project/Carthage/Build/Mac/ConsistencyManager.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “ConsistencyManager.framework” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/aname/Library/Developer/Xcode/DerivedData/ConsistencyManager-fearqdlqpzasxjgmoxazbykbsxxj/Build/Products/Release-iphoneos/ConsistencyManager.framework, NSUnderlyingError=0x7fc8bc70a9c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

Notice that the error is about a build for Mac (it refers to Carthage/Build/Mac), whereas I only need a build for iOS. I can get around that with --platform iOS, but IMHO this error should not happen.

@plivesey
Copy link
Owner

Yes, I agree. This was reported yesterday, so I'm taking a look. Carthage is running the wrong xcodebuild commands.

I'm not very familiar with Carthage. I'm trying to work out if there's a way to tell Carthage which commands to run. I don't really understand how it generates the build commands currently.

@plivesey
Copy link
Owner

Carthage/Carthage#1547

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