Closed dwirandyh closed 2 years ago
Hi! That problem has been already fixed in https://github.com/spotify/XCRemoteCache/pull/74 and will be available in the upcoming CocoaPods plugin update.
This how Analytics
look when using the master-based plugin version.
This should be fixed in the most recent cocoapods plugin 0.0.7
Thanks @polac24 it works on cocoapods plugin 0.0.7
My integration setup
[x] CocoaPods cocoapods-xcremotecache plugin [ ] Automatic integration using
xcprepare integrate ...
[ ] Manual integration [ ] CarthageExpected/desired behavior When i have
development pod
that hasvendored_frameworks
the target cache is always miss, although I have cached it right before running it as consumerI think it should has 100% cache hit rate because the cache miss happend only when i clean build folder before build the project
In this case,
Analytic
hasxcframework
asvendored_framework
Minimal reproduction of the problem with instructions
Download the project here
https://github.com/dwirandyh/xcremotecache-modular-example
Step to reproduce
Consumer Logs
Noticed error:
2022-02-18 15:59:29.461 E xcprebuild[82917:6c091] (Analytic) Prebuild step failed with error: missingFile(file:///Users/dwi.herdinanto/Library/Developer/Xcode/DerivedData/MovieApp-cqxrrwfijxaigthjxqexeztphckl/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Analytic/Radar/RadarSDK.framework/Headers/Radar.h)
Pods/Carthage file
Environment
gem list cocoapods-xcremotecache
>Others
I think the problem becase
[XCRC] Prebuild
is executed before[CP] Copy XCFrameworks
that makes xcprebuild is failed to find header file insideBuild/Products/Debug-iphonesimulator/XCFrameworkIntermediates