carthage version: 0.20.1xcodebuild -version: 8.2.1--no-build? No--no-use-binaries? No--use-submodules? No--cache-builds? NoCartfile
github "ReactiveCocoa/ReactiveSwift" ~> 1.1.0
Cartfile.private
github "nvzqz/RandomKit" "master"
github "jspahrsummers/xcconfigs" "master"
github "Quick/Quick" ~> 1.0
github "Quick/Nimble" ~> 5.1.1
Command ran
carthage update --platform ios,tvos
Output
*** Fetching xcconfigs
*** Fetching RandomKit
*** Fetching ReactiveSwift
*** Fetching Quick
*** Fetching Nimble
*** Fetching Result
*** Fetching ShiftOperations
*** Checking out Nimble at "v5.1.1"
*** Checking out Quick at "v1.1.0"
*** Checking out Result at "3.2.1"
*** Downloading ReactiveSwift.framework binary at "1.1.0"
*** Checking out ShiftOperations at "v1.0.0"
*** Checking out RandomKit at "59811649ec8428c08c00835644eddabbe9085455"
*** Checking out xcconfigs at "2055f18efbe18e77408f7f43947f7ad92b2d4ff0"
*** xcodebuild output can be found in /var/folders/x7/pd6q3qp51cs1xm86457mm88m0000gn/T/carthage-xcodebuild.IflHQe.log
*** Building scheme "Nimble-iOS" in Nimble.xcodeproj
*** Building scheme "Nimble-tvOS" in Nimble.xcodeproj
*** Building scheme "Quick-tvOS" in Quick.xcworkspace
*** Building scheme "Quick-iOS" in Quick.xcworkspace
*** Building scheme "Result-tvOS" in Result.xcodeproj
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "ReactiveSwift-iOS" in ReactiveSwift.xcworkspace
*** Building scheme "ReactiveSwift-tvOS" in ReactiveSwift.xcworkspace
Notice these 2 lines:
*** Downloading ReactiveSwift.framework binary at "1.1.0"*** Building scheme "ReactiveSwift-iOS" in ReactiveSwift.xcworkspaceI don't see this with Carthage built from master, this looks like #1800 fixed by #1831
I'm not using --cache-builds.
Had you previously run carthage for a version of ReactiveSwift that doesn't have a binary download? If you have a 'ReactiveSwift' checkout folder, carthage will build it even if it also downloaded something. #1466, see @mdiep latest comment. Though it's actually a secondary issue, it would have to be fixed as a pre-requisite to 1466.
This may also explain your ReactiveSwift issue actually. If your previous 'checkout' was version 1.0, then _that's_ what got built, and replaced your binary download.
That seems like a very big bug. Regardless of what I have in Checkouts, I'm using update so that should be updated anyway.
I had a similar issue. Running carthage update or carthage bootstrap would always build from source, instead of using binary.
Then I figured out it was not even building the right source, if was building from a feature branch, while it was supposed to build code from master, as both Cartfile and Cartfile.resolved where pointing to a tag in master.
This happen as I had previously pointed (by hardcoding the SHA toCartfile.resolved) to a specific commit from that feature branch, and run bootstrap. Since there is no binary for that commit, it checked out and built from scratch. Later, I reverted the Cartfile.resolved to point to a tag on master. But it was still building from that checkout, no matter whether bootstrap or update.
I fixed this by manually deleting the Carthage/ folder in the project folder. After that, running carthage update or bootstrap works as expected.
I am having the same problem with Carthage 0.20.1:

This definitely seems like a bug. It didn't used to do this.
Reverting back to 0.19.1 and deleting the Carthage folder has fixed it for my team.
Just deleting the Carthage folder fixed it for us. Maybe it recognizes old sym files and tries to build them.
We have the same issue with Carthage 0.21.
To fix it without delete Carthage folder and rebuild all dependencies schemes, you can just delete all folders and files related to the dependency in Build and Checkout folder
Having this issue with 0.23. Blew away the Carthage folder and still happening.
I am seeing the similar issue with 0.26.2.
I am attempting to use consume HockeySDK-iOS. They have both binary and source available. I would prefer to use the binary as I am pinned to and older version which does not export when built using Xcode 9.
When I run carthage update, I see the following:
*** Fetching HockeySDK-iOS
*** Downloading HockeySDK-iOS.framework binary at "Version 4.1.6"
*** Checking out HockeySDK-iOS at "4.1.6"
*** xcodebuild output can be found in /var/folders/8t/cq5x95j92y33jz6g5cvwjvt539kwqn/T/carthage-xcodebuild.4QPUWl.log
But it still goes on to build the framework.
In other news, I don't see where it actually downloaded the binary...
I'm still seeing this in 0.35.0. Is this an issue with how carthage archive creates the archive.zip, or is it a bug in Carthage's resolving logic?