Skip to content

consumer mode no artifact available always #233

@anuragstar

Description

@anuragstar

**@polac24 I am using XCRemote cocapods setup, in which producer mode works perfectly fine, when I am running the same pipeline in consumer mode it fails with no artifact available

Can we connect on a call to debug this issue, this is increasing our integration time a lot, let me know suitable time to connect**

[-] CocoaPods cocoapods-xcremotecache plugin
[ ] Automatic integration using xcprepare integrate ...
[ ] Manual integration
[ ] Carthage

In producer mode, I can see on AWS S3 the artifact is pushed for EnterpriseDev and ReleasePH variants, but when I am running the pipeline for consumer mode with fetch-depth:10 while git clone it always shows - [XCRC] XCRemoteCache disabled - no artifacts available

Minimal reproduction of the problem with instructions

Producer Logs
In consumer mode pipeline is making calls for Debug iphonesimulator-13F100-5 while we are running for EnterpriseDev & ReleasePh variants of the app.

Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-Debug-iphonesimulator-13F100-5

xcprepare[41788:469e3] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-Debug-iphonesimulator-13F100-5
INFO 2024-01-04 04:00:48 2024-01-04 03:56:23.630 I xcprepare[41788:469ea] Network request failed with unsuccessful code 404

INFO 2024-01-04 04:00:46 [XCRC] XCRemoteCache disabled - no artifacts available

producer mode cache generation for EnterpriseDev & ReleasePH

43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-14B47b-5

7f107fc629b7dbc2003b840a6d3507c6fbb6121e-ReleasePH-iphoneos-14B47b-5

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Consumer Logs

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Pods/Carthage file

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

  • XCRemoteCache: X.Y.Z
  • cocoapods-xcremotecache: X.Y.Z <!-- check with gem list cocoapods-xcremotecache >
  • HTTP cache server: ... <!-- e.g. demo docker, nginx, AWS etc. >
  • Xcode: X.Y.Z

Post build stats

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Others

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions