# 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)