Open eliw00d opened 3 years ago
Should be fixed in https://github.com/facebook/react-native/commit/bdfe2a51791046c4e6836576e08655431373ed67 which has been merged but not yet released. Ref: https://github.com/facebook/react-native/issues/31193
TLDR of the root cause: the podspec for FBReactNativeSpec includes full local path (such as /your/machine/your/app/ios/Pods/Local\ Podspecs/FBReactNativeSpec.podspec.json
. This means that the checksum is basically different on every single machine.
Environment
Things I’ve done to figure out my issue
Upgrading version
0.64.0
Description
I was able to upgrade locally without issue but in our CI pipeline I get the following error:
No matter what I do to clear the cache locally it always seems to have a different checksum in CI. I use Jenkins and it should be a fresh workspace for every build since CP_HOME_DIR is set to a folder on the workspace instead of on the machine. Nothing has changed in my pipeline and all previous React Native upgrades have not had this issue.
Reproducible demo