-
Notifications
You must be signed in to change notification settings - Fork 49
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
Get caches failed after changed project directory #134
Comments
Hello! |
Hi @polac24, I've added Maybe my Development Pods are too complex? Local Pod A is a dependency of Local Pod B?
|
Hello! The logic is as follows:
For instance, for the second example, you can review the given target's ENVs and see which of them contain:
We haven't tested that but don't see any blockers for that. Finally, having a sample project would help me investigating. |
Have another tip: #67 mentions that maybe we should include |
Hi @polac24 ,
Based on the description in #67
Should I include |
Added BUT the problem still remains, our CI could not hit the cache for the Archive job for some other core framework
And the meta file of PodB contains absolute path of it's source code directory. (like the example above.) I checked the build log and there are several ENVs containing the path related to pod: There is a Limitation for cocoapod-plugin:
|
I cannot reproduce it, here is the sample project I generated, and even for an archive, I didn't get absolute paths:
That has been resolved in #57. We need to update the doc, thanks for noticing that. |
@polac24 Thanks for your update. I can't reproduce the issue in that example as well. Maybe my project has some configuration that causes the mismatch. My cache hit rate still does not exceed 100% because there is still one LocalPod that generates absolute path if using Here is the example I forked from your repo: https://github.com/canhth/nestedCocoapodsSample |
My integration setup
Problem & Expectation
Local machine: cache hit rate is 80/97. But after moved to another directory, the cache hit rate is 40/97.
CI machine, each build job has a different directory and the cache hit rate is 40/100.
Expectation:
Minimal reproduction of the problem with instructions
To reproduce this locally, we can test by this steps:
Environment
Notes
I've read
Build artifacts portability
in Spotify blog and understand XCRemoteCache already supportfingerprint_override_extension
&debug-prefix-map
.Not sure why this not working for our case, it blocking us to apply XCRemoteCache to CICD system.
The text was updated successfully, but these errors were encountered: