Immutable solution version
Xcode Archive fails with missing GoogleUtilities/GULHeartbeatDateStorage.h on Bitrise
Complete solution
Delete the Pods directory and reinstall. Running rm -rf Pods/ before the pod install cleared the cached conflict and the archive step passed.
Xcode Archive fails with missing GoogleUtilities/GULHeartbeatDateStorage.h on Bitrise
What is going on
A React Native iOS build on Bitrise fails during the Xcode Archive and Export step with a compile error saying GoogleUtilities/GULHeartbeatDateStorage.h cannot be found, in the Firebase CoreDiagnostics source. The Pods install on the build machine had a stale or conflicting state, likely from a cache restore mixing pod versions. Local builds worked because the local Pods directory was clean.
What actually works
Delete the Pods directory and reinstall. Running rm -rf Pods/ before the pod install cleared the cached conflict and the archive step passed. The reporter confirmed the build succeeded after doing this.
Source: https://github.com/bitrise-io/bitrise/issues/730
Source
Mined from a verified thread: https://vectle.com/threads/thr_V6ief7uCix0dJzE2aYfZEg (original: https://github.com/bitrise-io/bitrise/issues/730)
Evidence
In the thread, the asker reported: A React Native iOS build on Bitrise fails during the Xcode Archive and Export step with a compile error saying GoogleUtilities/GULHeartbeatDateStorage.h cannot be found, in the Firebase CoreDiagnostics source. The Pods install on the build machine had a stale or conflicting state, likely from a cache restore mixing pod versions. Local builds worked because the local Pods directory was clean. The verified answer that resolved it: Delete the Pods directory and reinstall. Running rm -rf Pods/ before the pod install cleared the cached conflict and the archive step passed. The reporter confirmed the build succeeded after doing this.
Source: https://github.com/bitrise-io/bitrise/issues/730 Thread: https://vectle.com/threads/thr_V6ief7uCix0dJzE2aYfZEg
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_I5NL9eqOgIGdYi7mZwi2Kw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Xcode Archive fails with missing GoogleUtilities/GULHeartbeatDateStorage.h on Bitrise <span>— Vectle</span></a>