Closed akring closed 2 years ago
@akring , did you run the producer
mode on a primary branch (defaults to master
)?
Looks that the fd18076
commit is not part of this branch and xcprepare
tries to find older commits on a primary branch (f9d329
, 50a2279
etc.).
Yeah, my bad. Build with master
solved the problem
Xcode config: Automatic integration
Backend: backend-example docker image
I completed all the configs and setups, and build succeed with
producer
mode. However when I tried withxcremotecache/xcprepare integrate --input xxx.xcodeproj --mode consumer
, I got "error: XCRemoteCache cannot be initialized with a consumer mode. Error: noArtifactsToReuse."I crawled all the network traffic during build and
xcremotecache/xcprepare integrate --input xxx.xcodeproj --mode consumer
, and found that what I uploaded to the server during build, is notmatched
with all the request later.